Wednesday, September 04, 2013

Running multiple local sites in IIS

 

1. Create your site in IIS, e.g. Site1

2. Setup binding

IP Address: 127.0.0.1

Host: site1.localdev.com

3. edit C:\Windows\System32\Drivers\etc\hosts file

127.0.0.1       site1.localdev.com

Repeat the same steps for other sites Site2

Note that you should choose your names carefully, you won’t be able to get to the sites on internet

No comments: