Configure a Failover IP on Windows
This guide explains how to add a Failover IP to your Windows server, either through the graphical interface or the command line.
Prerequisites
- Administrator access to your Windows server (via RDP)
- A Failover IP assigned to your server
Important: before making any change, note your current network configuration (IP address, mask, gateway and DNS). Switching the interface to manual configuration without filling in these values would result in a loss of RDP connection.
Note the current configuration
- Connect to your server via RDP.
- Open a Command Prompt (
cmd) and run:ipconfig /all - Note the IPv4 address, subnet mask, default gateway and DNS servers of your main interface.
Method 1 — Graphical interface
- Open the network connections:
- Press
Windows + R, typencpa.cplthen confirm.
- Press
- Right-click your network adapter (for example "Ethernet") then select Properties.
- Select Internet Protocol Version 4 (TCP/IPv4) then click Properties.
- Check Use the following IP address and fill in the IP address, mask and gateway noted earlier (as well as the DNS servers).
- Click Advanced….
- In the IP Settings tab, under IP addresses, click Add….
- Enter your Failover IP with the subnet mask
255.255.255.255, then click Add. - Confirm with OK on each window.
If the new IP doesn't respond immediately, disable then re-enable the network adapter (right-click the adapter → Disable, then Enable).
Method 2 — Command line (netsh)
You can also add the Failover IP through a Command Prompt or PowerShell opened as administrator.
-
Identify your interface name:
netsh interface ipv4 show interfaces(for example "Ethernet")
-
Add the Failover IP:
netsh interface ipv4 add address "Ethernet" YOUR_FAILOVER_IP 255.255.255.255Replace
Ethernetwith your interface name andYOUR_FAILOVER_IPwith your IP.
Verification
-
Check that the IP is present:
ipconfigThe Failover IP should appear as an additional IPv4 address on your interface.
-
Test connectivity from another machine by running a
pingto the Failover IP.
Troubleshooting
- Make sure the Failover IP is properly assigned to your server in your customer area.
- Verify that no other server is already using this IP (address conflict).
- Check that the subnet mask is indeed
255.255.255.255. - Check the Windows Firewall rules if some services don't respond on the new IP.
Important notes
- The Failover IP must be configured with a subnet mask
255.255.255.255. - A Failover IP can be moved from one server to another from your HostMyServers customer area.
- Some services may require reconfiguration to listen on the new IP.