title: How to setup hostname to website in local IIS
body: <p>I am using Windows 10 with IIS enabled.<br>
  I need to setup local websites on different ports with hostnames which I can access locally by using those hostnames.</p>
  
  <p>For e.g.<br> 
  Website Name: abcd website<br>
  Path to Directory: D:/Projects/Websites/abcd.com<br>
  Hostname: abcd.com<br>
  Port: 1001<br></p>
  
  <p>Currently I can access the website with localhost:1001 or 127.0.0.1:1001
  But I'm looking forward that my local websites should get resolved with hostnames.
  So, if I go to <a href="http://abcd.com/" rel="noreferrer">http://abcd.com/</a> it should take me to <a href="http://localhost:1001/" rel="noreferrer">http://localhost:1001/</a></p>
  
  <p>With this I wish to setup subdomains to some websites as well.
  I need help to achieve this.</p>