How to Set Up Host Headers in IIS
Host headers allow your Internet Information Services users to enter a friendly domain name into a web browser and access the right website on your server. Host headers are used on an IIS server when it has several websites configured on the computer. It's also beneficial if the IIS server is only configured with one IP address. The host headers are used to route the user to the right website.
Instructions
-
-
1
Click the Windows "Start" button and select "Administrative Tools." Click "Internet Information Services (IIS) Manager." This opens your main console.
-
2
Right-click your web server name and select "New." Click "Web Site" to open the new website wizard. Click "Next" on the opening screen.
-
-
3
Enter a friendly description for the website and click "Next." Select "All Unassigned" in the drop-down box. In the "Host Header" text box, enter the name your users enter to access the website. For instance, add "mywebsite.com" if that is your domain name. Click the "Next" button.
-
4
Click the "Browse" button to select a location on the hard drive to store the files. Click "OK" in the opened dialog box and then click "Next" in the wizard window.
-
5
Select "Read" from the list of permissions, and then click "Next." Click "Finish" to save your settings and close the wizard. Open a web browser and enter the friendly host header name you configured in step three into the navigation text box. This tests the new settings for your website.
-
1
References
- Photo Credit computer image by blaine stiger from Fotolia.com