Solved

web site re-directing

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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

First of all, clustering IIS is something you should rarely consider doing. In almost all cases, Microsoft Network Load Balancing (NLB) (http://technet.microsoft.com/en-us/library/cc758834(WS.10).aspx) is a much better solution when you need to p…
What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

832 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