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 a new WordPress website and a legacy billing system. For technical reasons, they cannot be on the same hosting plan. The hosting account for billing (and the original website) also manages DNS and mail.

I'm trying to incorporate the new website under the same domain, eg. (website, on a different hosting account) and (billing). I assume the answer is having a different A record for

I currently have a CPanel shared hosting account to use for the website (but can upgrade if necessary). How would I set this up in CPanel, so that the URLs work properly? Do I need a dedicated IP and then add the domain as an add-on domain?


share|improve this question
Just a word of warning: The hosting company could forbid you do set A records. It depends on what they configured in the back-end. Check first in cPanel if you can set new A records. – Raffael Luthiger May 14 '11 at 11:23

Yes,I would just set an A record for to the Billing server. Then keep the A record the same and it will work how you want it to.

share|improve this answer

If you control DNS through cpanel, add an A record for both and pointing to their IP's.

You will then need to configure the webserver for each domain aswell. If both accounts are using cpanel, this should be trivial. Sounds like you know what is needed, but are looking for re-assurance. More details may be required if you want specifics.

share|improve this answer
Thanks - I do have a sense of what is needed, I've just never done it before (and the client wants assurance that their domain will be intact in the website's URL before changing the DNS). I guess I just want to know what I need on's end to have the proper URL - maybe an account with a dedicated IP, a certain .htaccess setting?.. – kwight Jan 28 '11 at 23:11
No, shared will work as it can get the hostheaders. just point the A to the shared IP and setup as a host header and your good. – Jacob Jan 29 '11 at 1:09
Like Jacob said, the server gets the domain from the browser. Just set up the host like you normally would, and while it wont work until DNS is changed, it wont cause any errors before DNS works either so its safe to do prior to the switch. – David Houde Feb 1 '11 at 17:45

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.