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 parent domain as and a sub domain

the site is hosted on

I have another domain

i want to map the to the sub domain

is this possible.

share|improve this question
Can you clarify what problems you're seeing? This is exactly what a CNAME record does - unless you're looking for it to do an HTTP redirect instead? – Shane Madden May 2 '12 at 15:56
i am looking out for domain masking – Selwyn May 2 '12 at 16:04


Create a CNAME or A record for that points to the (or it's IP address).

On the server create a virtual host for As you didn't say which webserver you're using we can't be much more specific than that.

share|improve this answer
I have hosting on which allows me to have multiple subdomain on which the site content can be served. And i want to have to pull data from,am i clear now – Selwyn May 2 '12 at 16:06
could you please elaborate more on your solution – Selwyn May 2 '12 at 17:17
If your website is sharing an IP address and/or the web server uses the host name to figure out what site to serve, you must also configure the web server to recognize as an alias for – Eli Sand May 2 '12 at 19:06

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.