3

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.

MakkyNZ
  • 147
  • 1
  • 1
  • 6

1 Answers1

7

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.

Wesley
  • 32,690
  • 9
  • 82
  • 117