How can I add a secondary IP address to my VPS?

For some applications, like running DNS on a single server, a second IP address is needed. To enable this on your VPS, some configuration adjustments have to be done. 

=> DirectAdmin server: Admin Tools --> IP Management --> Add IP
=> cPanel serverHome --> IP Functions --> Add a New IP Address

=> CentOS/Fedora/Scientific Linux:
Edit /etc/sysconfig/network-scripts/ifcfg-eth0 and add the following at the bottom of the file:


Reload the network config: /etc/init.d/network restart

=> Ubuntu/Debian:
Modify /etc/network/interfaces and modify it to look like this:

allow-hotplug eth0
iface eth0 inet dhcp
up /sbin/ip addr add dev eth0

Reload the network configuration: service networking restart 

Of course, you'll have to replace with the IP address we supplied to you.

=> Windows server 2012/2008
Please make sure that you’ve your primary IP address manually configured via the video display option from your Tilaa dashboard otherwise you can’t configure your additional IP address. All related network information can be found on your Tilaa dashboard -> server overview -> network tab.

Navigate to:
start -> control panel -> network and internet -> view network status and tasks ->  "ethernet" or "Local Area Connection" -> properties and open the properties of “internet Protocol Version 4 (TCP/IPv4)” and manually configure your primary IP address. 

When you have your primary IP manually configured return back to the properties of “internet Protocol Version 4 (TCP/IPv4)” and click the advanced button and click the add button to add an additional IP.

Initiate a restart of your server from your Tilaa dashboard.


Have more questions? Submit a request


Article is closed for comments.