Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


One domain name with two web servers

Posted on 2012-09-12
Medium Priority
Last Modified: 2012-09-12

I have one domain name (example.com). I have already one web server with IIS 7.5 (VM with Windows 2008 R2). This web server is serving www.example.com and mail.example.com.

Now I need to redirect www.example.com/services to another web server (also a WM with Windows and IIS).

As gateway, I have another VM with Forefront TMG 7.0. The Firewall rule redirecting www.example.com and mail.example.com to the first server is working well.

How can I configure TMG, the 2nd web server and internal DNS to receive www.example.com/services ?

Thanks for your future replies.
Question by:s2000_com
  • 3
  • 3
LVL 20

Expert Comment

ID: 38389904
you could create an index.html file in that folder with a http redirect

Author Comment

ID: 38389922
Hi wolfcamel,

Where do I redirect ? How can I redirect to another web server/machine with the same URL ?
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.


Author Comment

ID: 38390333
Hi carolchi,

I know that I have to configure this in TMG but the question is how ?

I did this already before and I receive a 408 http error code from the web browser or the following message from TMG :
Error details: 10060 - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
LVL 16

Expert Comment

by:Carol Chisholm
ID: 38390420
Some questions:

Is your TMG in your domain?
Do your two web servers have separate entries
(like webserver1.domain.pri, webserver2.domain.pri) in your internal DNS?
I know you have only one public address.

Author Comment

ID: 38390426
Hi carolchi !

Is your TMG in your domain? No and in the DMZ

Do your two web servers have separate entries
(like webserver1.domain.pri, webserver2.domain.pri) in your internal DNS? Yes 2 different virtual machines so 2 different names
I know you have only one public address.
LVL 16

Accepted Solution

Carol Chisholm earned 2000 total points
ID: 38390457
In your new publishing rule for the service site:

- change the "Public name" tab so the site is www.example.com/services 
- on the "To" tab put the internal name or IP address of the second server

Put this rule above the original one in the TMG proprieties.

Then it will fire first :
if the site is www.example.com/services
it will be directed to the IP address in the "To" Tab

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In Africa (and potentially where you live…), reliability of ISPs is questionable.  With the increased reliance on e-mail as one of the primary forms of communication, the costs to business are significant based on interuption of ISP Connectivity.  T…
There are several problems reported according slow link speeds or poor performance in TMG 2010, UAG 2010 or ISA 2006. I want to collect here some of the common issues together to give a brief overview what can be the reason. Nevertheless, not all of…
Loops Section Overview
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

578 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