Hosting Multiple Websites In IIS

  • Website 1: with and “index.html” that displays “Website Number 1”.
  • Website 2: with and “index.html” that displays “Website Number 2”.
  • Website 3: with and “index.html” that displays “Website Number 3”.
  • Website 4 : with and “index.html” that displays “Website Number 4”.
  • Create an Application Pool.
  • Create the corresponding website and make each host name unique.

Recap

  • IIS can manage multiple websites.
  • Each Website should have a designated Application Pool.
  • The fields in the binding options (type, IP address, port and hostname) form a unique identifier. No two websites can have the same four values.
  • In the host file, located at “C:\Windows\System32\drivers\etc”, you will have to map your IP Address to the host name.
  • A bindings file helps tracking and managing bindings.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store