FreeKB - Microsoft IIS Create a subdomain
Microsoft IIS - Create a subdomain

DNS

Before configuring IIS to point to a subdomain, such as sub1.example.com, 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 - 192.168.0.2 - www.example.com
  • a record - 192.168.0.2 - sub1.example.com
  • a record - 192.168.0.2 - sub2.example.com

IIS

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 = sub1.example.com
    • Application pool = ASP.NET v4.0
    • Physical path = path to directory (example: C:\sub1.example.com)
    • Type = http <ip address of IIS>
    • Host name = sub1.example.com



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 a166a in the box below so that we can be sure you are a human.




Comments

Web design by yours truely - me, myself, and I   |   jeremy.canfield@freekb.net   |