Quantcast
Channel: .Net Scraps - IIS 7
Viewing all articles
Browse latest Browse all 30

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

$
0
0

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



Viewing all articles
Browse latest Browse all 30

Trending Articles