Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a web site www.somewhere.com and I want the alias fr.somewhere.com.

I set up a CNAME record for www.somewhere.com alias fr.somewhere.com. When a user types in http://fr.somewhere.com in their browser, does the URL in the browser remain fr.somewhere.com or change to www.somewhere.com?

share|improve this question
up vote 6 down vote accepted

It will remain fr.somewhere.com unless you have rewrite conditions configured correctly:

RewriteCond %{HTTP_HOST} =fr.somewhere.com
RewriteRule ^(.*)$ http://www.somewhere.com/$1 [R=permanent,L]

I have a cname record created for blog.legoservices.com which just points to tumblr, but all you see is blog.legoservices.com.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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