Forum Moderators: phranque

Message Too Old, No Replies

Multiple Websites on IIS?

Host multiple websites on one IIS Web Server?

         

asptony

4:41 pm on May 26, 2005 (gmt 0)

10+ Year Member



I have never really messed with IIS and have only hosted singles sites, but now I have like 3 or 4 sites I am going to host from my own webserver at home. Can anyone help me set up IIS so I can host multiple sites. I have set up virtual folders and the sites in IIS itself, but putting them live I haven't figured out just tinkering around. I would appreciate help from anyone that can steer me in the right direction.

steve

9:29 am on May 27, 2005 (gmt 0)

10+ Year Member



Depends on your operating system.

Server versions allow multiple websites.

Pro/Home versions limit you to one. Although if you Google around there are scripts which get round this.

asptony

4:46 pm on May 27, 2005 (gmt 0)

10+ Year Member



The OS is Windows Server 2003...IIS v. 6.0

diamondgrl

12:54 am on May 28, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It's not difficult at all so don't feel like you need an expert. But you may need to search Google for a good guide on how to do it beyond what I give here (although maybe not). Let me give you a basica explanation to hone your search.

You can multiple IP addresses to your server and then assign an IP address to each site. Or probably better yet, you can assign multiple sites to one IP address.

With the latter method, you must assign host headers for each site by clicking on the "Advanced" button on the "Web site" tab of the web site you have created in the IIS Manager. Then you assign an IP address, a port (usually 80) and the host header information, such as www.example.com or example.com (you should probably assign both).

And that is the main difference between running one site and multiple ones on IIS.

asptony

6:49 am on May 28, 2005 (gmt 0)

10+ Year Member



Thanks Steve and Diamondgrl...I always appreciate a helping hand. I owe you guys one!