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 two servers, in which one I have my domain mapped fully and in another server I have a wordpress blog installed. Now, I want to map a subdomain in the first server to the one which has wordpress installed, without any change of URL. Is this possible? I hope I am making myself clear.

share|improve this question

DNS is completely separate function: you could have dozens of sub-domains for pointing to dozens of IP addresses (and dozens of servers behind those IP addresses).

If these servers are behind their own public, routable IP address, you simply need add an A record for to point to the public IP that routes/NATs to your Wordpress server.

If these servers are behind the same public, routable IP address (and you only have one) you're going to need to use a reverse proxy in front of those servers (and behind the firewall) to redirect requests to the appropriate server based on the domain that was requested. If you don't use a reverse proxy, you'd have to port forward 8080 to the Wordpress server ( and that's obviously not ideal.

share|improve this answer
you guys are awesome! It worked! – hari Aug 1 '10 at 8:29

you have to change the 'A' name in the DNS records, so that the subdomain points to your other server's IP .

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.