Alex Rivera | Logout

Can a website subdirectory be served by a different web server?

Asked 2009-12-04T17:56:50.547
9

Suppose I have a website hosted at the url:

http://www.mysite.com/

Say this is hosted by hosting provider "A".

Now, I want to host a subdirectory within this site at another host:

http://www.mysite.com/blog/

...say I host this with hosting provider "B". So all the pages under this site would be at a completely different data center.

Is this configuration possible?

Edit
Report

2 Answers

7

If you can configure a reverse proxy... then yes.

Apache mod_proxy

IIS reverse proxy <= is is a codeproject solution and may not have support. You can probably find many more if you just search for reverse proxy.

If you are using IIS7 (Vista, Windows 7, Server 2008) you may use the HTTP Redirect feature that is built in.

answered 2009-12-04T17:58:20.077
0

I beleive following is the best way to handle the situation:

(a) Create a sub-domain mapping withthe sub-directories. (b) Map this sub-domain with a new IP (New hosting server)

Isn't it clean and simple?

answered 2013-08-01T10:42:07.097

Your Answer