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

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 domain setup as Now I want to send to

So I setup a CNAME as follows:


Using WHM. But now when I go to, it shows:

Great Success ! Apache is working on your cPanel® and WHM™ Server

Please help. How should I go about doing this?

share|improve this question

closed as off-topic by HopelessN00b, Ward, HBruijn Feb 22 at 7:24

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 5 down vote accepted

I suspect a "ServerAlias" directive will take care of it in your Apache vhost file:

share|improve this answer
how can i do it using WHM? – elated Jul 27 '09 at 6:25
Unfortunately, I wouldn't know as I don't use it personally, but perhaps this page in their docs could be useful? – Ian Selby Jul 27 '09 at 6:28

You probably need to add a host header to Apache so that it knows that should also answer for

share|improve this answer
how can i do it using WHM? – elated Jul 27 '09 at 6:25

If you have access to WHM, you probably have access to Cpanel

Follow these steps to accomplish a redirection from to

  1. Login to Cpanel account for domain (usually accessible with with username and password you've set in WHM for that account)
  2. Click on "parked domain" under the domain section on the dashboard
  3. Add to your parked domaim (You need to make sure point to your names server, meaning you have access to it)
  4. Click on manage redirection
  5. Add a redirection to (I assume is already setup to point to a real path on your server)

This setup should work just fine.

share|improve this answer

Your web server is not expecting inbound requests that have in the HTTP/1.1 "Host:" header.

The server is therefore sending back its default web site content instead of your own.

share|improve this answer

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