Environment: IIS 7.
- I have a default site
www.domain.com
. Folder C:Inetpub/wwwroot/domain - There is subdomain
www.subdomain.domain.com
. Folder C:Inetpub/wwwroot/domain/subdomain. - Now, I have set up a new website at an external server, say
www.newdomain.com
. I cannot hostwww.newdomain.com
on the same IIS server (as mentioned above) due to some constraints.
In this setup, how do I get www.subdomain.domain.com/blog
to show all the content available on www.newdomain.com
while preserving the URL as www.subdomain.domain.com/blog
How could this be achieved in IIS 7?
You would have to put the entire
www.subdomain.domain.com
on the other server. You can't put just the/blog
path somewhere else.How would any client know to go to that other server for
/blog
if the DNS for the subdomain points to the first server?Alternatively, you could create
blog.subdomain.domain.com
for the blog server.