If you check the properties of a Site in IIS, you can find that the IP Address listing has an (All Unassigned) tag on it. If you go to the drop-down list beside it, it will list only one IP (the default primaryIP) in spite of the fact that your server may be multihomed.

This forces us to leave each Site to (All Unassigned) Tag in spite of the fact that we may want to assign different IPs to each. SolutionOpen the “hosts” file in the following location and add the mappings of all the IPs to the server’s name. Initially, it will have only one mapping, that of the Primary IP to the server name.

%systemroot%\system32\drivers\etc

Add the new entries as follows

IP.IP.IP.IP
SERVER_NAME

Caution

  1. Server_Name will be the same for all IPs
  2. The HOSTS file has no extension.
  3. It is not necessary to restart IIS.
  4. If the listing still doesn’t show up using the command line

 

Popular Posts You May Read

Explore more hosting insights, tips and industry updates.

How to install rkhunter to a cronjob

How to setup a daily scan report? # vi /etc/cron.daily/rkhunter.sh #!/bin/bash (/usr/local/bin/rkhunter -c –cronjob 2>&1…

How To Access Webmail Using Plesk

Webmail means web-based email. It is an email facility that can be opened using a standard internet…

How to Format Disk Partitions in Linux

How to Format Disk Partitions in Linux

Formatting a disk partition in Linux is a common task when setting up a new…