The IIS configuration tool helps you rapidly deploy web applications on Microsoft Windows servers family running Internet Information Services versions 5. This Advanced Installer utility ensures a fast and uniform installation of your web applications on multiple servers, without having to worry about manually configuring the IIS on every machine through Microsoft Management Console. This tutorial will guide you in creating Web Sites and Virtual Directories for your web application.
Let's suppose your web application consists of a E-Commerce web site, called example. This ASP. NET web application has a main user interface for registered users and guests as well as an Administration Panel.
This panel will be served from a different secure location installed on the target server, hence the need to configure a separate virtual directory for this application. Go to the Files and Folders view and add your application files. The application's files for the Administration Panel, which will be handled by the virtual directory adminpanel of the web site, should be placed in a separate directory.
It is redundant to add as a virtual directory a child folder of your application's web site folder, because this would already be served by your web site. Go to the IIS Server view. Use the [ New Web Site ] toolbar button to add your web site called example. In our scenario, the ASP. NET web application requires execute permission for the scripts as well as script access and read access. Our Web Site will automatically serve a default document when no document name is specified in the request url.
On the Installation Progress page, confirm that your installation of the Web Server IIS role and required role services completed successfully, and then click Close.
This action installs the IIS 8 default features. Install only the default features for a static-content web server. In the Connections pane, right-click the Sites node in the tree, and then click Add Website. In the Add Website dialog box, enter a friendly name for your website in the Site name box.
If you want to select a different application pool than the one listed in the Application Pool box, click Select. In the Physical path box, enter the physical path of the website's folder, or click the browse button If the physical path that you entered in the previous step is to a remote share, click Connect as to specify credentials that have permission to access the path. If you do not use specific credentials, select the Application user pass-through authentication option in the Connect As dialog box.
If you do not have to make any changes to the site, and you want the website to be immediately available, select the Start Web site immediately check box. The variable name is the name, and the variable id is a positive integer that you want to assign to the site. The variables name and id are the only variables that are required to add a site by using appcmd. However, if you add a site without specifying the values for the bindings and physicalPath attributes, the site will not be able to start.
The variable physicalPath is the absolute path of the site content in the file system. The variable bindings contains information that is used to access the site. Anonymous authentication gives users access to the public areas of your website without prompting them for a user name or password.
You can configure anonymous authentication by using the default anonymous user account IUSR , or you can set up a local user account for anonymous users. In the Actions pane, click Edit to set the security principal user credentials under which anonymous users will connect to the site.
In the Edit Anonymous Authentication Credentials dialog box, select one of the following options:. If you want to configure a specific user account that IIS uses to access your site or application, select Specific user. Then click Set to open the Set Credentials dialog box, and enter a user name and password for the identity.
Then click OK. If you want IIS processes to run by using the account that is currently specified on the property page for the application pool, select Application pool identity.
By default, this identity is the IUSR account. Table of Contents. Subscribe on YouTube! Did you enjoy this tip? We cover Windows, Mac, software and apps, and have a bunch of troubleshooting tips and how-to videos. Click the button below to subscribe!
0コメント