Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a Windows 2008 r2 VPS which I am using for both IIS and Apache.

Im looking to have two static IP addresses to point to this server. One for IIS to use and one for Apache. I already have one IP pointed to the server which works fine, but I can't workout how I can get a second to work as well.

My VPS provider has this in their FAQs, but Im not sure how to set this up on Windows 2008 r2. Can someone please point me into the right direction?

How do I use multiple static IPs on the same server? You will need to configure this inside your server. The networking option on the server configuration page just sets the IP address that the server is supplied by DHCP and uses for VNC. This should be the ‘primary’ IP of the server, but you can also use any other static IPs in your account if you configure these inside your server operating system.

share|improve this question

1 Answer 1

up vote 7 down vote accepted

Simply add another IP address to your NIC by going to your network control panel (run > ncpa.cpl) and finding the network card that you want to add multiple IP addresses to:

enter image description here

Then select TCP/IPv4 preferences and add IP addresses to your interface:

enter image description here

After that, modify your DNS zone to have another A record that points to your new IP address. In my case, I have three IP addresses bound to a Windows server. One IP is bound to an IIS site, another is bound to a streaming audio server application, and a third IP is bound to Windows Media Services. There is one A record in that DNS zone for each IP address. For example iis.myzone.com, icecast.myzone.com, and wms.myzone.com.

share|improve this answer
    
Thanks for this. It was exactly what i needed. –  MakkyNZ Mar 26 '13 at 22:11

Your Answer

 
discard

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.