Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I'm currently using the Linode DNS Manager but I'm failing to see where can I adjust that if the user goes to, he's automatically redirected to I know apache does that and my Apache is already configured properly at ServerAlias and ServerName

share|improve this question

2 Answers 2

If you want the user experience to see only, rather than just having work exactly like, then setting up a separate virtual host in apache with a simple redirect rule that redirects everything is probably what you want. With ServerAliases you can make several different names (,,, work the same way but with Redirect rule you can force everything into one name that you support.

share|improve this answer
RewriteEngine On
RewriteRule ^(.*)$$1 [L,R=301]
share|improve this answer
@Dan thanks for the formatting help! – MrTuttle Nov 1 '11 at 21:00
Thank you for this. Just a note about the formatting for others who seek this same answer, the correct code should have RewriteRule written together, like this: <VirtualHost> ServerName RewriteEngine On RewrituleRule ^(.*)$$1 [L,R=301] ... ... ... </VirtualHost> – bsides Nov 3 '11 at 14:43
huh. that's a pretty egregious typo on my part. fixed. – MrTuttle Nov 3 '11 at 21:47

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.