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

I'm stuck on what more I need to do, but here's what I'm trying to do..

I want to redirect it's content to I'm trying to parallel my site's static files for faster speeds. So I say I have the file I want to load

Here's what I've done so far..

I've added a CNAME entry in's DNS. It points "" as a CNAME for "".

However, when I go to the site it loads a default apache page. You can see the actual domains here.. -> ->

I've checked other StackOverflow questions and couldn't find a complete answer.

share|improve this question

migrated from Dec 21 '09 at 23:13

This question came from our site for professional and enthusiast programmers.

I'd recommend checking other ServerFault questions instead, you're unlikely to find things about DNS entries on StackOverflow. –  Dav Dec 21 '09 at 18:05

2 Answers 2

If you have configured your apache to use name based virtual hosts (look for something like "NameVirtualHost *:80" in the config) you need to create a host with either ServerName or ServerAlias set to your CNAME.

Look here for a sample config of name based virtual hosts...

I think this belongs to one of the sister sites of stackoveflow.

share|improve this answer

Add e.g. ServerAlias to the VirtualHost-directive of

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.