The title probably isn't very good but here's what I mean by it.
I have a site hosted on an IIS 8 server. It has SSL installed and it has many subdirectories underneath it (www.domain.com/subdirectory, www.domain.com/subdirectory2, etc.).
Is it possible to move ONLY the root content (www.directory.com
) to be hosted externally but have the subdirectories (www.domain.com/subdirectory, www.domain.com/subdirectory2, etc.) still point to our server and serve content from here?
Long story short- one of the geniuses here internally has designed a site (without my knowledge) that cannot be hosted internally and now I'm tasked with moving this site over to the external hosting. However, because of all of the sub-sites (that have to be hosted here- they connect to internal database servers and internal resources), it can't be done without re-directing all of those sub-sites. There are probably 3-4 dozen of those sites so I'm trying to avoid that outcome if possible.
Any suggestions are appreciated.
www.sitename.com/page1.asp - server2
www.sitename.com/folder1/* - server1
www.sitename.com/folder2/* - server2
Basically you can customize any URL within a site and where the request should be routed.
Of course this means adding TMG and using it to filter all your web traffic but it did work well for me.