To create two websites that share the same IP address and split traffic by using host headers, follow these steps:
- On your web server, open up File Explorer and create a new folder called C:\Websites. Inside this folder, create two new folders and call them Site1 and Site2.
- Inside each folder, create a new Default.htm file. You should now have two different Default.htm files, one sitting inside the Site1 folder, and one sitting inside the Site2 folder. These will be our example websites.
- Put some text inside each of those Default.htm files. Make sure that whatever text you write in them distinguishes between the websites so that we can know it is working properly when we test in a few minutes.
- Open Internet Information ...