Create a Website
- Right click on sites and press add a website
- Fill out the form
- Site name - it is best practice to set this to the domain name
- Physical path - where your website files are located (aka HTML)
- Bindings - how to link your side to your host name aka
benlewisjones.com(can uselocalhost)- be sure to not have duplicate bindings or IIS might point to the wrong place
- You can also update the
C://Windows/System32/drivers/ect/hostthis acts as a local DNS, example127.0.0.1 website1.com
- then use your
website1.cominstead 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.