Solved

web site re-directing

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Logparser is the smartest tool I have ever used in parsing IIS log files and there are many interesting things I wanted to share with everyone one of the  real-world  scenario from my current project. Let's get started with  scenario - How do w…
Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

757 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now