How to host multiple website with same IP address and port
- Last Updated: Saturday, 17 January 2015 11:38
- Hits: 2928
How to host multiple website on server 2003 with one IP address and same port, with host header?
Configure Web Sites by Using Host Header Names, Administrative Tools, Internet Services , Web Site Identification, Advanced button, Advanced WebSite Identification, Host Header Name box, Web site name Properties, Advanced Multiple Web Site Configuration, port number, Multiple identities for this Web Site,Advanced Web Site Identification, (All Unassigned), TCP Port 80, Clients are unable to connect to the Web sites by using the IP address:, Clients are unable to connect to the Web sites by using host header names:, TCP Port, Host Header Name, Configure a host header in iis 7, iis 7.5, hhost header in iis 6, use of host header.
In IIS all version has facility to host multiple site in an IP address and with default port number 80. This can be done by using host header feature, assigning a unique host header name to each Web site.
IIS 6.0 with Server 2003 or Windows XP.
Open Internet Services Manager. From administrative tool or Open run type – inetmgr.
Right click on your website and click properties.
In website tab click Advanced on Web Site Identification Section.
Now add or edit the website identities.
Now select the IP and Type the Port no. and Host Header name.
[Note: -Suppose you have “ohm.com” site you want to visitors also come with the “www.ohm.com” then you can add a new website identification and use same IP and port and now you should type the host header name like www.ohm.com for detail see the below image.
Same as if you want a host new website with same IP and port the you need to also type a host header name (Your new website) example “nk.com”.]
IIS 7.0 and IIS 7.5 with Server 2008 or Windows 7
Open IIS Manager.
Expend Sites and select your website name.
In right side action pane click Bindings.
In site Bindings windows click add or edit then type your host name (Host header name) according to IIS 6.0
Here you can also change IP, Port and Type (Http or Https)
You can also add host header from command line
Open command prompt and go to inetsrv folder
C:\Windows\System32\inetsrv>appcmd set site /site.name:string/bindings.[protocol='string',bindingInformation='string'].bindingInformation:string