Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IIS issues

Status
Not open for further replies.

Fabit

Technical User
Nov 22, 2005
95
US
Hi all,

I am running two different webservers in house. For example, and the other is Everytime I go to the internet and type web02.com I see the context of web01.com. They are two different web servers what am I suppose to do to fix this issue? Can some please help me?

Most Appreciative,
 
can you elaborate more on that?
 
When you say that you have two webservers in house, do you mean that you have two separate machines hosting a website each in your network, or do you mean you have IIS on one machine and it is hosting 2 websites?
If it's the fist then you have have a DNS issue, or if it is the second, your headers may be improperly configured.


Tyras
 
I have 2 seprate servers using IIS running two different websites.
 
Do you have 2 public IP addresses provided by your ISP? One for each web server?
 
no I only have one public ip address.
 
Can you give us a bit of information about your setup then? Both servers in a DMZ, or in your LAN behind a firewall?
Also, is there a reason these sites are separate or could they be combined to a single machine?
Are both sites hosted on the same public IP address?

What is happening is that the request for a website is only taking from one machine it sounds like, so the other webserver is not even being considered if you will in the process.


Tyras
 
Then you have 3 options to fix this problem:

1. Run both websites from one IIS server, and use host headers to differentiate between sites.

2. Run the second IIS server from a non-standard port and have users specify that in their web request (example:
3. Purchase a second public IP from your ISP for the second IIS server.
 
thank you Serbtastic,

that seems more logical and thats what I will do. option #3 sounds good.
 
Wow..you guys are fast. heh.

Option 3 is a good way to go. Be sure to change the DNS A Records on the website to reflect teh new IP address you get from your ISP, and of course configure your firewall accordingly.

Good luck
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top