• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Two Websites On One Machine...?

thanser

Member
OK, now I've registered a second domain name, and I have a second IP address as well.

My ISP is handling DNS.

I'm running Windows 2K, with IIS installed to serve web pages. I have one folder wwwroot to handle one website, but what do I do about the second site? Where does it reside?

What do I have to do on my end to direct two IP addresses to one machine, which, by the way, is behind a Linksys router?

Thanks for any help you can provide me.

 
I dont know if the linksys can handle 2 ip addresses, but if it can set it up to have the first and second ip address. Then forward requests to the first and second address, port 80 to your machine. IIS should be able to handle virtual hosts. Setup the virtual host (check the help if you dont know how) and you should be fine. Make sure you have your IIS server tightened down since it is Inherently InSecure 😉
 
web servers support Host Headers. Meaning it gets the destination site from the HTTP header and not from an IP address. This way you can run hundreds of web sites off a single IP. It is a server side setting.
 
As the lads have pointed out, it is quite possibly.

The main concern, however, is my assumption that if you did not know that IIS contained Host Headers (the capability of running multiple domains/websites through one IP), than you might need some assistance on securing the box. One more Win2K server even partially open = a thousand headaches for other admins across the might 'Net. Code Red, Nimda, etc. I am no expert on all of this, but I do know how to tighten up a Win2K Server boxen.

So, I would start here, if you have not already:

MS Technet

Labmice.net

Good luck!
 
If you aren't running a server version of Windows 2000 IIS only supports one web site.

If you are using a server version of IIS, you should use host headers instead of multiple IP's as spidey07 pointed out. To use multiple IP's your server would need as many NIC's as IP addresses. Host headers are far easier.

You can put a website in any folder on the server.

Be sure you understand security and are able to properly configure your server so that someone can't take control of it and cause havoc on "our" internet!
 


<< To use multiple IP's your server would need as many NIC's as IP addresses. >>



Am I missing something? If you have Win2k Server, IIS and a block of ip addresses, you can set up as many ip addresses as you want on the same machinge through one NIC. I have 18 websites on one machine, each with its own IP address.

EDIT: Obviously, as another poster indicated, your broadband hardware would have to support multiple ip addresses, but so long as it does, you can have more than one website with separate ips on one machine.
 


<<

<< To use multiple IP's your server would need as many NIC's as IP addresses. >>

>>

Ooops, wrong about that one. Gotta get more sleep...
 


<< "All hotfixes have been applied", per Hfnetchk.

Thanks for everyone's suggestions and information.

TH
>>



There is more to securing it than just hotfixes and patches 😉

EDIT: Atleast thats how it is for *MOST* services out there.
 


<<

<< "All hotfixes have been applied", per Hfnetchk.

Thanks for everyone's suggestions and information.

TH
>>



There is more to securing it than just hotfixes and patches 😉

EDIT: Atleast thats how it is for *MOST* services out there.
>>


EXACTLY! As I said, please check out the sites that I linked above. They will get you started in the right direction.

I will not permit you to make this server live on the Internet if you do not at least read the IIS checklists and follow through them. 😀 (Well, I do not have the power to do so, but please save us all headaches and bandwidth by securing the server, not just with hofixes.)


Thanks and Good Luck!
 
Back
Top