In order to create a website in server 2008, you need to follow the following steps:Part 1: Creating the site:
- First of all, you need to launch the Internet Information Services (IIS) Manager on the training server. Click on “Start button”> Administrative Tools > Internet Information Services (IIS) Manager.
- Secondly, go on Connections pane and click the ‘+’ displayed next to the server name and select Sites.
- Click on the “Add Web Site” link under the Actions pane and a form will appear
- Then, you need to fill up the requested information on the Add Web Site form, then click OK. For instance- Site name-Test Site (or a name of your choice)
Note: If you look at the “Application pool” name once you leave the site name text box, then you will see it change to the name of the site. It is the Add Web Site UI’s default behavior and helps out automatically in isolating sites and applications. You can also manually change the application pool to an existing one by just clicking on the “Select” button.
• Physical path: For this, you need to click on the “…” button and browse to C:\Domains. Select the “Make New Folder” and enter a site name of your choice.
Note: OrcsWeb does not use the usual IIS physical path for site folders. It is not necessary that all servers at OrcsWeb would use the same default path. The prevailing standard location for complete
dedicated servers both - virtual or physical, is C:\Domains, but the dedicated server clients are allowed to make use of whatsoever path they want to opt for.
• Binding: you have to leave these at the default values
Note: The Supplementary readings on the bindings are very important for advanced site setup. Please read this at the following link:
https://support.orcsweb.com/KB/a308/iis ... dings.aspxBy following the above mentioned process, you will be able to create a site listed in IIS Manager. From the “Sites” you can view the details in the main pane of IIS Manager.
Part 2: Permissions and testing
Locate the Identity utilized by the site’s application pool:
- You have to select your site from the Sites list displayed in left
- Then, click on Basic Settings on the Actions pane on the right
- Make note of the “Application Pool:” name and click Cancel
- Then, select the Edit Permissions… link in the Actions pane
- And, go to the Security tab
- Choose your server, which is the uppermost item in the view list, and then click on OK.
- Underneath the “Enter the object names to select ”type: IIS APPPOOL\<App Pool Name>
- The IIS APPPOOL\ part *is* case sensitive and must be entered in all upper case
- Replace <App Pool Name> with the actual application pool name from step 5c, without the <>. Example: IIS APPPOOL\Test Site
Ensure that your application pool name is selected under “Group and user names:” and then, click the box labeled Modify under the Allow column in the “Permissions for <App Pool Name>” section.
Alternate Method: Command line-
- Click on the Command Prompt located in the Start menu
- Use the icacls.exe command to grant the appropriate permissions.
Structure: icacls <path> /grant “<object>”:(OI)(CI)(M)Example: icacls “C:\Domains\Test Site” /grant “IIS APPPOOL\Test Site”:(OI)(CI)(M)- Close the popped out command prompt
- Select on Explore from the Actions pane
- Then, create a file called default.aspx
- Finally, add the following to the body of the file
This is [your name] training web site.
Then, save the file and test the site you have created. Look for Browse Web Site section under the Actions pane for quick launch of the site and click the link “Browse *:80: (http)”.