IIS: How to map a domain name to a web site
This post explains how to map domain names with IIS web site
Assumptions:
- We have IIS hosted on a server with static IP and internet access (:|)
- We own a public domain name (:|) which is to be mapped (:|)
For demo, I am assuming following values
- server IP address : 222.222.222.222
- public domain name to be mapped: map.jyotsna.com
Please note that these values are for demostration purpose only. I, in no way, own these.
To do: For IIS version 7
- Add and ‘A’ record to your DNS settings with value = IP of server. So my “A” record for jyotsna.com has value = 222.222.222.222
- Create a web site in IIS – if needed. For demostration, I am going to use “Default Web Site”
- Select the web site and choose bindings in Actions pane.
- In the Site Bindings dialog box, select the binding for which you want to add a host header and then click Edit or click Add to add a new binding with a host header.
- In the Host name box, type a host header for the site, which in my case is map.jyotsna.com
- Click on OK/ Apply to close all windows. There is NO NEED to restart IIS to reflect the changes.
To do: For IIS version 5.1 till 6
- Add and ‘A’ record to your DNS settings with value = IP of server. So my “A” record for jyotsna.com has value = 222.222.222.222
- Create a web site in IIS – if needed. For demostration, I am going to use “Default Web Site”
- Right click the concerned web site -> properties. In the “Web Site” tab, click on “Advanced” button.

- In “Multiple identities for this Web Site” section, click “Add” button.

- You now need to mention three values

- IP Address – this is IP address of the server. In my case it will be 222.222.222.222
- TCP port – I want this website to be available on map.jyotsna.com irrespective of the actual IIS port assigned to “Default web site”. Hence I am going to specify 80. If I wanted the site to be available on map.jyotsna.com:666, I would have specified 666 as this value.
- Host Header Name – map.jyotsna.com
- Click on OK/ Apply to close all windows. There is NO NEED to restart IIS to reflect the changes.
Related articles:
Categories: IIS


What company is the best Domain Registrar? i’ve heard that Godaddy and Moniker are the best…:
Hey Ayden.
I think there are too many to decide which one offers the best service; but yes Godaddy and Moniker are the most popular ones.
i always buy domain names at Godaddy or Moniker because they are the most reliable registrars-,-
Goddady is the best registrar, another one is Enom;,,
domain names are the bread and butter of earning money online. i just signed up with godaddy.“
domain names should be as short as possible and easy to remember, i alway use Godaddy when signing up new domain names::~
godaddy is not always the best registrar, the private registration of godaddy is too expensive ~
I think this website holds very wonderful pent subject matter content .
Thank you so much