Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Possible Duplicate:
How do I rename a domain and preserve PageRank?

I launched a website a couple of years ago, bright eyed and bushy tailed, with dreams of conquering the world. Unfortunately it wasn't to be. Now, that I am a bit older and wiser, I have spent some money on branding and creating more quality content etc, I am rebranding and relaunching the site with a new domain name.

Although the traffic on the old site is laughable (i.e. non-existent), there are a few pages of good information on there and I don't want to lose any "juice" those pages may have gained because web crawlers have been seeing it for a few years now.

Ok, the upshot of all that is this: I want to change my domain name from xyz.com to abc.com. I am maintaining the same friendly urls I had before, only the domanin name part of the url will change, so that any traffic coming to the old page will be forwarded/redirected? to the new page seamlessly.

How do I go about achieving this (i.e. what are the steps I need to carry out, and to minimize any "disruption" to any credibility the existing site has with Googlebot etc?

I am running Apache 2.x on a headless Linux (Ubuntu) server.

share|improve this question

marked as duplicate by John Conde Nov 13 '12 at 13:19

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

add comment

1 Answer 1

Just make sure that xyz.com redirects to abc.com.

Apache can be rather easily configured to do this, for example using the following configuration:

<VirtualHost *:80>
  ServerName xyz.com
  Redirect permanent / http://abc.com/
</VirtualHost>
share|improve this answer
    
Turns out this dosen't work. Please see my new question: webmasters.stackexchange.com/questions/38451/… –  Homunculus Reticulli Nov 30 '12 at 21:24
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.