Create a Website

  1. Right click on sites and press add a website
  1. Fill out the form
    1. Site name - it is best practice to set this to the domain name
    1. Physical path - where your website files are located (aka HTML)
    1. Bindings - how to link your side to your host name aka benlewisjones.com (can use localhost)
      1. be sure to not have duplicate bindings or IIS might point to the wrong place
      1. You can also update the C://Windows/System32/drivers/ect/host this acts as a local DNS, example 127.0.0.1 website1.com
      1. then use your website1.com instead of using the ip

Bindings

So the DNS might have multiple Domains pointing to your computer.

How does your computer deside which one to use for your website?

It uses bindings, that link external domain, IP and port to local website.