: CNAME: does a cname change the url that the browser displays? 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.
I have a web site somewhere.com and I want the alias fr.somewhere.com.
I set up a CNAME record for somewhere.com alias fr.somewhere.com. When a user types in fr.somewhere.com in their browser, does the URL in the browser remain fr.somewhere.com or change to somewhere.com?
More posts by @Welton855
1 Comments
Sorted by latest first Latest Oldest Best
It will remain fr.somewhere.com unless you have rewrite conditions configured correctly:
RewriteCond %{HTTP_HOST} =fr.somewhere.com
RewriteRule ^(.*)$ www.somewhere.com/ [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.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2025 All Rights reserved.