FreeKB - How to create a subdomain in IIS
How to create a subdomain in IIS

Home > Search > How-to


Before configuring IIS to point to a subdomain, such as, you need to configure your DNS server to point the subdomain to the IP address of your IIS web server. For example, your DNS configuration would look something like this:

  • a record - -
  • a record - -
  • a record - -


Follow these steps to configure subdomains in IIS:

  1. In the left panel of IIS, right-click on the Sites folder and select Add Website.
  2. Do the following in the Add Application pop-up box:
    • Alias =
    • Application pool = ASP.NET v4.0
    • Physical path = path to directory (example: C:\
    • Type = http <ip address of IIS>
    • Host name =

Add a Comment

We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.

Please enter in the box below so that we can be sure you are a human.