Solved

web site re-directing

Posted on 2008-11-03
1
228 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
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
Lease-to-own eliminates the expenditure of hardware replacement and allows you to pay off the server over time. Usually, this is much cheaper than leasing servers. Think of lease-to-own as credit without interest.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

829 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