Did you know: Add host header to a Web Site in IIS 7 / 7.5

by Vivek 12/8/2009 10:57:00 AM

In IIS you can host multiple Web sites on a single server with the same port number and a single IP address using Host Header. By adding a unique host header to each Web site, you can map more than one Web site to a single IP address.

In IIS 6.0,

To add a host header entry for a Web Site in IIS 6.0.

  1. Right click Web Site (Default Web Site in our case) and click on Properties
  2. Click Advanced… button in the Web Site tab
  3. Click on Default and click Edit…
  4. Type the host header in the text box (dotnetscraps.com in our case)

    image3

In IIS 7 / 7.5

To add a host header entry for a Web Site in IIS 7 / 7.5

  1. Right click the Web Site (Default Web Site in our case)
  2. Click Edit Bindings...
  3. Click on http and click Edit...
  4. Type the host header in the text box (dotnetscraps.com in our case)

    image4

 

Hope this helps,
Vivek Kumbhar


Quote of the day:
If we were not all so interested in ourselves, life would be so uninteresting that none of us would be able to endure it. - Arthur Schopenhauer


blog comments powered by Disqus

Search


Tags



Categories

Calendar

<<  September 2010  >>
MoTuWeThFrSaSu
303112345
6789101112
13141516171819
20212223242526
27282930123
45678910

View posts in large calendar

All Items
Sign in

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
© Copyright 2010, Rahul Soni

Powered by BlogEngine.NET 1.4.5.0