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 registered

I have a temporary free web hosting - and I would like to define the DNS records so that when a user tries to access he will be forwarded (hopefully without knowing) to

To make it clear - since it's a temporary free hosting i can't use the IP (cause it's shared hosting).

share|improve this question
up vote 4 down vote accepted

There is no DNS based solution to this. Either the webserver must be setup to respond to both names as the same virtual host so you can use the same address. Or you need a seperate webserver which proxies or redirects to the site you want them to go to.

share|improve this answer

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.