1. Open IIS Manager from Start > Administrative Tools > IIS Manager.
2. To add the website expand the tree on the connections column.
> Right click Sites.
> Select Add Web Site.
3. Configure the new website
> In Site name, enter a name to identify your website. The domain or name of the site is best.
> In Physical path enter the path to the website files. You can put this anywhere on your hard drive but the default is c:\inetpub\wwwroot\.
In the binding set, you can select how the site is bound to the server.
> Type: Select HTTP
> IP Address: Select your IP here.
> Port: This should not be changed unless required as port 80 is the only port you can use without adding :port at the end of your domain. You should only change this if your ISP blocks port 80.
> Host name: This should be your domain name. If you don’t have one and want to use your IP, leave it blank.
4. Click OK and the website will be created.
5. Extra Configuration
Although the site is now live, we need to make a few adjustments to ensure it works properly.
> Right click on the website we have just created and select "Edit Bindings".
> In the window:
- If you entered www.yourdomain.com the first time, now we need to add it again but without www. so it’s just domain.com.
- If you entered yourdomain.com the first time, we now need to add it again but with www. infront to make www.yourdomain.com.
6. Set up your domain’s DNS
Now that you have your site running with IIS, you need to set up the DNS zones to point to your IP.
- Set up a new A record that points to your IP. You will need to do this twice, once with and once without www.
www A 18.104.22.168
@ A 22.214.171.124
Note: @ refers to without www. Sometimes this is also referred to with * or just blank.
You will need to wait up to 24 hours for the changes to take place once you have submitted them.