Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to host two HTTPS sites in IIS for development so I need to assign one of the sites to another IP address so they both work.

What are the steps for doing this in IIS 7 and Windows 7? How do I pick an appropriate IP address?

share|improve this question
Is the IP address already assigned to the machine? – Justin Dearing Aug 9 '12 at 22:11
No it isn't. Starting from the beginning! – jimioh Aug 9 '12 at 22:15

To Assign More Than One IP to the Same NIC in Windows 7

  1. Go to Control Panel > Network and Internet > Network Connections
  2. Right click on Local Area Connection and select Properties
  3. Select Internet Protocol Version 4 (TCP/IPv4) and click Properties
  4. Turn off DHCP by setting the IP, subnet mask , and default gateway. I would also suggest setting your DNS servers.
  5. Click on the Advanded button below where you set the DNS servers.
  6. The IP address that you just set should show up in the new window that you just opened by clicking Advanced.
  7. To add a second IP address, click on the Add button and add the IP and subnet mask.
  8. OK out of everything.
  9. Open the command prompt and type ipconfig /all and make sure it's showing both IP addresses.

If it's not showing both, you may need to restart your network connection (ipconfig /release and ipconfig /renew) to get things working.

For a visual guide, look HERE. This is for Windows XP, but you basically follow the same steps.

To Assign the IPs in IIS.

  1. Open IIS Manager

  2. Expand Sites

  3. Right click on the site you want to assign and select Edit Bindings

  4. If https is not there, click Add and select https as the type and select the appropriate specific IP address.

  5. If https is there, click on it and select Edit, and assign it to the appropriate IP address.

**Note that you must have separate IP addresses for each site for SSL to work properly in IIS unless you are using a wildcard certificate.

share|improve this answer
Yup, I am aware of that. This doesn't work off the bat. What do I need to do in Windows to configure that IP address? – jimioh Aug 9 '12 at 22:14
You need to clarify your question, then, to specify what you need specifically. – nojak Aug 9 '12 at 22:38
I said in IIS 7 and Windows 7. I wouldn't assume I have carried out any steps. I also ask how to pick an appropriate IP address which suggests I have not configured it yet. – jimioh Aug 9 '12 at 22:43
SSL-enabled sites can share the same IP address provided that they share the same SSL certificate that covers all host headers (a wildcard certificate, for example) – Chris McKeown Aug 9 '12 at 23:11
Thanks for clarifying that, Chris. Totally forgot to mention wildcard certs. – nojak Aug 10 '12 at 0:33

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.