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 myserver.com/web1, myserver.com/web2, etc.

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

I hope my question is clear enough. Thanks.

link|improve this question
feedback

1 Answer

up vote 1 down vote accepted

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

link|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
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.