Having 2 websites share port 80 on IIS

It is fairly easy to do this - while creating the website, specify a different host name.

In a dev environment, you can point this host name to 127.0.0.1 in the windows hosts file.

Interestingly the mac also has a hosts file which looks similar to the windows hosts file.

Comments

Popular posts from this blog

Enable Visual Studio to use more than 2GB of memory

Late 2008 Macbook only giving 1.5 gb/s speed with 6 gb/s Intel SSD?

Firefox and Chrome dark mode