Solved

web site re-directing

Posted on 2008-11-03
1
230 Views
Last Modified: 2012-05-05
Hi Everyone,

How do you configure IIS Server to re-direct web sites to specific servers?  For example, the site www.company.com is hosted on \\Server1, which is running IIS.  How can I configure IIS to redirect www.company.com/site1 to \\Server2?

Greatly Appreciated,

Theodosios
0
Comment
Question by:Theodosios
[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
1 Comment
 

Accepted Solution

by:
FrontierSD earned 250 total points
ID: 22869353
Configure Server2 to respond to www2.company.com (Or another subdomain of your choice).

In the default document for www.company.com/site1, put in the code shown.

When a user goes to www.company.com/site1 it will resolve to the IP of Server1, and server1's IIS will return the index.html file, which will have a meta refresh redirecting to www2.company.com, which will resolve to server2 & IIS will serve on Server 2, whatever it has.


<html>
<head>
<meta http-equiv="REFRESH" content="0; URL=http://www2.company.com">
</head>
</html>

Open in new window

0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
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 video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

724 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