Host Header issue
Hello all, I have a web application running on port 80 now i want another web application to run on port 80 and the name should be the one which i want to give and not the default one which appears..can somebody tell me how to do this..do i have to use host headers or DNS and whats the difference between using these two.... the web application is for local intranet. Thanks
May 24th, 2010 10:52pm

Internet Information Server (IIS) can differentiate between websites in three ways. Each Website can have its own IP address, a custom port number, or a host header. To use IP address to seperate sharepoint web applications you need to precreate the website in IIS using a custom IP address, then choose the precreated website from the dropdown list when creating the new Web Application. To use a custom port number simply provide a unique port number when creating the new Web application. However, users will need to provide this port number whenever accessing the site, so its not very user friendly. To use a host header simply provide the host header name when creating the new Web applicaiton. You will also need to create a DNS entry that points to the host header name for IP address resolution. The only real downside to using host headers is that if one port 80 web site uses host headers, then all the port 80 web sites on that box need to use them. Host headers are used by IIS to figure out which web site to send a request to. DNS is used to figure out what IP address (which IIS server) to send the request to. You need both.Paul Stork SharePoint Server MVP
Free Windows Admin Tool Kit Click here and download it now
May 24th, 2010 11:48pm

Hi sharepoint99, DNS and HOSTS are not mutually exclusive, and they do not rely on each other, so client-side software may be designed to use DNS, or HOSTS, or DNS first and then HOSTS, or HOSTS first and then DNS. There is no automatic administration of the clients' HOSTS files: administrators often update a master HOSTS file and rely on each end-user to copy it periodically to the client computer, at which point the administrator has little control of the file's contents. If you choose DNS, you will need to install a DNS server in your environment. For more information about the difference between HOSTS and DNS, please refer to the following article: Getting Started With Microsoft DNS Server http://technet.microsoft.com/en-us/library/cc750207.aspx For more information about resolving Names with a Hosts File, please refer to the following article: Chapter 7 - Host Name Resolution http://technet.microsoft.com/en-us/library/bb727005.aspx Hope this helps. Rock WangRock Wang MSFT
May 25th, 2010 10:30am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics