How do I create a new website on my Windows server?

The following article explains how to create a new website on your Windows server in IIS. IIS (Internet Information Services) controls the configuration of each website on the server. There are two types of websites that can be configured, IP based sites and Name based sites*.

To create a new site in IIS, please follow these steps:

  1. Log into your server through Terminal Services or Remote Desktop Connection.
  2. Click Start, Programs, Administrative Tools, Internet Services Manager. This will open the IIS manager.
  3. In the left column you will see the machine name. Open the New Site Wizard:
    • In IIS 5.0, right click the machine name and select New, Website.
    • In IIS 6.0, expand local machine and right click on ‘Web Sites’ and select New, Website.

  4. Click Next to begin.
  5. Type in a description for the website. This is usually the domain name but can be anything that you prefer to distinguish the site from others.
  6. Click Next.
  7. Type in the IP address of your new site. TCP port should be 80.
    • If the site is an IP based site you can leave the host header line blank.
    • If the site is a name based site you will need to enter the domain name in the host header line. If you prefer to view the name-based site using the IP address, leave the host header line blank.
  8. Click Next.
  9. Enter or browse to the path where the website will have its root directory. This is the directory where the home page should go.
  10. Select the check boxes for the type of permissions you would like.
    • Read: allows your site to be visible through a web browser
    • Run Scripts: allows scripts such as ASP and ASP.Net to be run
    • Execute: allows .exe and .dll files to be run (we do not recommend this method)
    • Write: allows certain browsers to write to files in your website (we do not recommend this method)
    • Browse: if there is no index page, this option will display a listing of all the pages in your folder (we do not recommend this method)

  11. Click Next and then Finish.
  12. If this is a name based site, right click the domain name you just created and select Properties.
  13. On the Web Site tab, click Advanced.
  14. Click Add.
  15. Enter the requested information:
    • IP address: enter the same IP address for the website
    • TCP port: enter 80
    • Host Header value: enter the domain name with www. as the prefix

  16. Repeat steps 12 through 15 for each additional domain name that will be used to access this specific website.