Powered By Blogger

Thursday 26 September 2013


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 StartProgramsAdministrative ToolsInternet 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 NewWebsite.
    • In IIS 6.0, expand local machine and right click on ‘Web Sites’ and select NewWebsite.
  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 selectProperties.
  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.
You have now created a new website. If you need to setup an FTP site, please see How do I create an FTP account with IIS?.
*An IP-based website has a unique IP address. No other website uses this IP address. If you need multiple IP-based websites, you will need to contact us to add the IP addresses to your server.
A name-based website shares a single IP address with each website on the server. You are able to make as many name-based sites as you wish with your single IP address.


Anzil Ali Liyakkath
anzil09@gmail.com

No comments:

Post a Comment