Microsoft Office Tutorials and References
In Depth Information
To create a new web application, you need to enter the following information:
Description A descriptive name for the IIS Web Site, usually something such as
3. The Description field will change to reflect your port or host header selections later in
the settings. You can choose to manually enter a description as well. My example uses
SharePoint-8080 for this web application. (I didn’t type that in; if you change the port or
host header, it changes for you.)
Port The port on which the new web application will listen. IIS Web Sites must be unique
in some way in order to receive traffic. Websites can be unique either by port number or by
host header (you can’t mess with unique IPs in this interface). Using a port number to make
a Web Site is adequate for demonstration purposes but does require that users type a port
number next to the server name in their browser to access the top-level site.
4. The port suggested by default is certain not to be already in use by the server. However,
you can specify a port if you know it is available. Because port 80 is taken by the first web
application, SharePoint-80, my example is specifying port 8080 .
Host Header A host header is a way to change the expected URL of the web application.
Normally, because port 80 is already taken by the SharePoint-80 Web Site (which is our
first web application for this SharePoint server), you would not be able to have any more
websites on that port. But host headers allow you to specify a unique URL for the website
that listens on port 80. As long as the host header is unique in IIS, IIS can capture user
requests on port 80 for it and redirect the correct traffic to that site. This will be covered
later in the chapter.
5. For this web application, my example leaves the host header blank because we are using a
unique port instead.
Path This is where the SharePoint configuration files are to be kept. My example uses
the default settings. By default, IIS places the files in a folder that is named, by default,
whatever the port or host header is for the web application. Here’s an example: C:\
6. Although you can specify a different path for your web application’s data, for this
example, keep the default.
Security Configuration There are several ways you can configure security on the new
web application, as shown in Figure 10.25.
Allow Anonymous This setting turns anonymous access on or off in the IIS Web Site
for the web application. Enabling anonymous access adjusts IIS settings to allow the web
application to offer anonymous access as an option to the site collections, the subsites,
or even individual lists and libraries. If there is a site collection or subsite (that doesn’t
inherit permissions) in the web application that wants to take advantage of this, the
administrator has to choose to enable anonymous access at that level. Lists and libraries can
be explicitly given anonymous access, but that option (to give particular lists or libraries
unique anonymous access) must be enabled at the site collection or subsite where the list
or library is located as well as at the web application level.