Switching my website to a new domain Rewrite rule and 301 Redirects
Here is what i want to do.
I have two domains.
The old domains has been running for sometime and now i want to move the old website to a new domain name. I want to remove the old domain completely from my server so i only have one website running to not waste space. Under the new domain I want it so if someone enters in the old-domain.com domain no matter what page they try to go to it forces them to the new-domain.com.
My sites are all hosted at rackspace.
I'm thinking i would need to do some combination of .htaccess magic with rewrite rules and also maybe something at my registar as well on the old domain to point it to the new-domain.com ip address or something. I host my sites with Rackspace and register my domains with Godaddy.
Anyone know what the Rewrite Rule may look like?