Web Hosting Gallery
host multiple website on single webserver??
Last post Jun 28, 2012 09:22 AM by accuwebhosting.com
Jun 28, 2012 01:16 AM|starnitin|LINK
Jun 28, 2012 06:58 AM|Rick Barber|LINK
There is more than one way to do this. However, I would recommend that you configure the sites using host headers. If you have two sites named site1.com and site2.com, you would set the bindings for the first website to use 'All unassigned' for the IP
address, 80 for the Port, and site1.com for the Host name. You would then set bindings for the second website to use 'All unassigned' for the IP address, 80 for the Port, and site2.com for the Host name.
If you wanted the sites to also respond to www.site1.com and www.site2.com, you would need to add bindings like above except using www.site1.com and www.site2.com as the Host name respectively.
Jun 28, 2012 06:59 AM|Artie|LINK
Depending on the number of IPs you have, point the domains to the IPs assigned to the server, set up each site in IIS as a separate site and use host headers, so IIS knows which site to return.
This article will show you how to configure host headers in IIS 7
Jun 28, 2012 09:22 AM|AccuWebHosting.Com|LINK
If you want to point your site with IP address then you can bind the site with port number.
if you want to browse site1 then you can type http://192.168.1.226:80
same way if you want to browse site2 then you can type http://192.168.1.226:81
This is call Port Binding with an IP Address.
To Bind the port with any IP(using IIS) you can do the following :
Open IIS Manager.
In the Connections pane, expand the Sites node in the tree, and then click to select the site for which you want to add a binding.
In the Actions pane, click Bindings.
In the Site Bindings dialog box, click Add.
In the Add Site Binding dialog box, select the type of your site, Select IP of your Site and assign port which you want to assign then click OK.
Another way to do that by specifying host header value in host file.
For that do the following steps:
Now you can surf that two site(site1.com & site2.com) on same IP with same port.