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've created a domain name and I've changed the DNS to my hosting machine IP.

No problem with that. I host a few web applications on my machine, all under the same IP address. They're all stored as,, etc.

However, I want to be redirected to without the user knowing. So that all links with relative paths would show up with the new domain name like would make IIS fetch it from /web2/news.

I hope my question is clear enough. Thanks.

share|improve this question
up vote 1 down vote accepted

Why don't you just setup the virtual domain configurations correctly on/through your web server?

share|improve this answer
Wouldn't I need an unique IP for each web app then? – raRaRa Jul 30 '11 at 16:21
Hey I got it! Thanks :) – raRaRa Jul 30 '11 at 16:26
Good deal... Easy and clean... – user48838 Jul 30 '11 at 16: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.