Server Fault is a question and answer site for system and network administrators. 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 2 domains on 2 different servers, using two different sets of nameservers. In the DNS settings for the first TLD, lets say, I have the @ pointing to server1 which is running a specialty site hosted by the software vendor. That works as expected. I also have a subdomain configured to CNAME to a subdomain of the second TLD, call it, on server2.

When I navigate to I expect to see the contents of Instead I see the cPanel "Apache is working on your cPanel® and WHM™ Server" screen. If I navigate directly to however, I see what I was expecting.

Running tracert from my home machine resolves correctly to I tried adding a generic index.html to the folder the subdomain points to, but I still have the cPanel welcome message when I go to

Am I missing a configuration setting? Does it matter that and are using different nameservers? On server1, I have little control over content, but I can edit the DNS records. On server2 I have full access to cPanel and DNS settings.

share|improve this question

closed as off-topic by Jenny D, Falcon Momot, Bryan, mdpc, Ladadadada Jun 28 '13 at 16:36

  • This question does not appear to be about server, networking, or related infrastructure administration within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

Edit your question because it is self-contradictory. You mention "another TLD" but the two names you give ( and are in the SAME TLD. – bortzmeyer Oct 19 '09 at 7:10
@bortzmeyer, I'm out of my element here. Feel free to edit for correctness. – Rob Allen Oct 19 '09 at 15:00
This question appears to be off-topic because it concerns the use of shared web hosting by end users or resellers, rather than the administration of web hosting. – Jenny D Jun 28 '13 at 8:51

On the HTTP server, there is probably no configuration for Since the name of the requested site is sent in the HTTP request, if there is nothing telling the HTTP server what it should do for, it will send back the default page, probably "Apache is working on your cPanel® and WHM™ Server".

You therefore have to add as a name or alias for With Apache, this is done with the ServerName and ServerAlias directives.

share|improve this answer
As stated here, your not doing a redirect, your sending the whole request to the different server, its requsting and Apache has no idea what that is. – Sam Oct 19 '09 at 9:53
Thanks. I knew it had to be something simple I was missing. – Rob Allen Oct 19 '09 at 14:14

that's normal cpanel behaviour.

you need to add as either 'parked domain' or 'addon domain' for

only then, cpanel will know what content to show for that domain.

share|improve this answer
I added it as an add on domain which seemed to work until I clicked a link. That changed the location bar's url to which is less than ideal. If I can't get it to be more seemless with @bortzmeyer's suggestion, I'll switch back to the addon. – Rob Allen Oct 19 '09 at 14:39
this is another issue and very much related with what script (wordpress/drupal/joomla/etc) you're using? it have nothing to do with cpanel. and most scripts do use full url link instead of relative links. you might also want to consider using frame instead of pointing domain. this way, whatever link you click, it stays inside frame and the url does not change at all. – Oct 20 '09 at 2:23

I completely overcomplicated the situation by leaving the domain I wanted to have displayed on GoDaddy's name servers.

To fix this whole thing and make it easier to work with, I created a new account in cPanel for Then I created a few subdomains. Then I edited the A record for's root and set it to the vendor's IP, but left the subdomains set to local account's IP.

All is well now. Thanks for the help, without it I wouldn't have set this up properly in the end.

share|improve this answer

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