Manually Adding a Site to IIS

Introduction

IIS is Microsoft’s standard webserver that comes pre-installed on all of our Windows cloud servers. The goal of this article is to walk you through our recommended steps for creating new sites in IIS.

Step-by-Step Guide

Step 1: Open IIS on your Server.

  1. Remote into your server.

  2. Click the search icon and type “IIS”.

  3. Select “Internet Information Services (IIS) Manger”.

Step 2: Add our site

  1. Expand the server node on the left until you see the “Sites” folder.

  2. Right-click on “Site” and select “Add Website…”.

  3. Fill in the following details:

    • Site name:
    • Physical Path:
    • Host name:

    Note: We recommend using a physical path in the C:\home directory. Similar to our screenshot.

Step 2: Edit bindings

  1. Now we need to add the non-www binding. Right-click your new site and select “Edit Bindings…”

  2. Select “Add”.

  3. Fill in the “Host name:” field and click “OK” once you’re done.

HTTPS binding steps
  1. Add a new binding to the site.
  2. Change the “Type” To “https”.
  3. Fill in the “Host name:”.
  4. Check the “Require Server Name Indication” box.
  5. Choose your SSL from the “SSL Certificate” drop-down.

Step 3: Add Virtual Directories (ColdFusion Only)

If your site utilizes ColdFusion, then you’ll need to add the “cf_scripts” and “jakarta” virtual directories:

  1. Right click on your site and select “Add Virtual Directory

  2. Create the “cf_scripts” virtual directory with the following file path:
    C:\ColdFusion2023\cfusion\wwwroot\cf_scripts

  3. Create the “jakarta” virtual directory with the following file path:
    C:\ColdFusion2023\config\wsconfig\1

Step 4(Optional): Adding a testing URL to your site bindings

Click here for instructions
  1. Select the site in IIS that you need to add a testing URL to.
    image

  2. Select “Bindings…”.
    image

  3. Select “Add”.

  4. Type the testing URL that you would like to use, then select “OK”.

Once you have added the testing URL to the site bindings, you can either update the DNS for that testing URL to point to the IP of the server that you are testing on, or you can use the hosts file entry that is linked to in the next step of this article.

Step 5: Upload your site files and test

Below are some of our resources that will help you get started with uploading files to your website directory, as well as testing the new site without having to change DNS yet.

Please don’t hesitate to reach out to our team of engineers if you encounter issues or have any questions.