Mobile app version of vmapp.org
Login or Join
Barnes591

: How do I run a subdirectory on a separate server? I have a site, www.domain.com. I want to set up a blog which runs on a separate server than the main site, and have it available a the

@Barnes591

Posted in: #Blog #Iis7

I have a site, domain.com. I want to set up a blog which runs on a separate server than the main site, and have it available a the domain domain.com/blog.
How would I go about doing this? If it were blog.domain.com, then it would be easy, but with domain.com/blog I'm not so sure.

I'm using Windows Server 2008 / IIS 7.

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Barnes591

2 Comments

Sorted by latest first Latest Oldest Best

 

@Ann8826881

This can be done with URL Rewrite module using "Reverse Proxy" kind of rule (when incoming request is handled/internally redirected to be processed by another back-end server), but for this you will also need an Application Request Routing to be installed. Unfortunately I have not dealt with AAR much and cannot really advise further. With Apache it is easier -- it is part of the default functionality (as long as you enable right module).

Keep in mind -- this will be slower than hosting the blog on the same server, as request has to travel to main server first, then to another (blog) server and back, and only then the response/page will be sent back to the user.

UPDATE:
Here is the article that describes how this can be done with details and illustrations (it is dated Nov 2009 but everything still should be the same or very similar): Reverse Proxy with URL Rewrite v2 and Application Request Routing.

10% popularity Vote Up Vote Down


 

@Connie744

I don't think you can do this. I just ran into the same type of thing because I wanted to run a Wordpress blog but my site was hosted on a shared Windows host. I ended up moving my site to Rackspace's cloud hosting so I had my own dedicated server and installed the Wordpress dependencies on Windows.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme