Is there a way to set up a binding in iis in the format of:
I set the websites up to use different ports but there is a resource that is needed which is hosted on port 80 on the same server. The other websites are now looking for this resource, assuming it runs on the same port as them (example :8001, :8002, :8003)
In your IIS Manager, go to
Edit Bindings... of your website and add a site binding with
website1.localhost as host name on the port 80.
Next, edit the file
c:\Windows\System32\drivers\etc\hosts to append an entry: