Microsoft Office Tutorials and References
In Depth Information
UNIQUE IS BETTER THAN GOOD; IT’S NECESSARY
Keep in mind that each IIS Web Site (and therefore each web application) must be completely unique
in the way it identifies itself so IIS can pass it the correct user requests. Thus, the Web Site must
have a unique URL or a custom port. Above all, the Web Site must be uniquely identifiable by IIS
in order to work.
And, if you are working with host headers, the IIS server will never get the request for that URL if
DNS does not have a record for it that resolves to that server’s address. If the URL is used on the
Internet, that domain should be registered to your company and listed on a DNS or name server on
the Internet (in addition to having a record in the internal DNS).
Host headers should be set when a web application is created or extended. Take the following
steps to try out this feature:
1. Create a new web application (Central Administration Application Management
Manage Web Applications New).
2. For the New IIS Web Site, SharePoint will suggest a random port, so change the suggested
port back to and enter the URL to which you want the web application to respond in 80
the Host Header field. See Figure 10.68 for my example.
3. Configure the other sections as you would any new web application: Security,
Application Pool, Database, Search, and so on. Then click OK.
Setting a host
header in the
Create New Web