Creating a website with the installation wizard
- Click Start, then click Administative Tools and then select IIS.
- Find where your sites are located and on the left pane right click the Sites node. Then select Add web Site.
- The Add Web Site dialogue will then be displayed. Then type in a name for your website in the Web Site Name section.
- Type in the physical path of the website's folder in the Physical path box. Alternatively, use the (...) browse button to navigate to the appropriate file path.
- Then the domain of people who are going to visit your website need to be specified. To do that, click on the Connect as button. Alternative, click on the Application User.
- To select a protocol for the website, then simply select one from the Type list.
- Then specify the appropriate IP address in the IP address box.
- Specify the port number in the Port Number text box.
- Optionally, type in a a host for your website in the Host Header
- To make the website immedietely available to the public, then select Start Web site immediately.
- Click OK to finish the set up
Creating a website from the terminal
In the terminal type the following:
appcmd add site /name: string /id: uint /physicalPath: string /bindings: string
name: The name of the website to be created
id: A unique id-number that you wish to assign your website to
physicalPath: The destination path from the file system for the website
bindings: It holds information for the host header, port number, protocols and IP address
Points taken from https://technet.microsoft.com/en-us/library/cc772350(v=ws.10).aspx
No comments:
Post a Comment