: 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
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.
More posts by @Barnes591
2 Comments
Sorted by latest first Latest Oldest Best
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.
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.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.