[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

IIS 8.0 - Load Another Site for Website Root / Subdirectories from Local Server

Posted on 2014-01-06
6
Medium Priority
?
1,230 Views
Last Modified: 2014-01-13
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.
0
Comment
Question by:street9009
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 13

Expert Comment

by:SagiEDoc
ID: 39761762
I managed to achieve this in the past using Microsoft Threat Management Gateway. With TMG you are able to specify what HTTP requests are routed to what server. So for example www.sitename.com goes to server1
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.
0
 

Author Comment

by:street9009
ID: 39762357
Hmm I don't think that'll work. That appears to be at the firewall level (mentions ISA which we used to have but haven't had in a long while). I was hoping for something that would work at the IIS level. I only need the root of one domain to load what would be hosted externally.

Correct me if I'm wrong.
0
 
LVL 39

Expert Comment

by:Aaron Tomosky
ID: 39762544
Application request routing can do this im pretty sure but it won't be clean. Basically you put a redirect in the site root that sends to the other server but anyone that hits the folders will go to the old server still.

It would help clean things up if you used subdomains instead of subfolders.
0
Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 

Author Comment

by:street9009
ID: 39772088
How does application request routing work?
0
 
LVL 39

Accepted Solution

by:
Aaron Tomosky earned 2000 total points
ID: 39772661
0
 

Author Closing Comment

by:street9009
ID: 39776586
Thanks I'll check that out.
0

Featured Post

Simplify Your Workload with One Tool

How do you combat today’s intelligent hacker while managing multiple domains and platforms? By simplifying your workload with one tool. With Lunarpages hosting through Plesk Onyx, you can:

Automate SSL generation and installation with two clicks
Experience total server control

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Resolve DNS query failed errors for Exchange
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
In this Micro Tutorial viewers will learn how to restore single file or folder from Bare Metal backup image of their system. Tutorial shows how to restore files and folders from system backup. Often it is not needed to restore entire system when onl…
This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question