This article describes how to configure additional IP addresses on a Cloud VPS instance.
When you order a Cloud VPS, you are allocated one initial IP address. However, you can purchase additional IP addresses. To use these addresses on a Cloud VPS instance, you must configure it to recognize and use the new addresses.
To add an IP address to a Cloud VPS, follow these steps:
After you add an IP address, you must configure it. The method to do this depends on your configuration:
Follow the appropriate procedure below for your own configuration.
To configure additional IP addresses in WebHost Manager, follow these steps:
To configure IP addresses at the operating system level, follow the appropriate procedure below for the Linux distribution installed on your Cloud VPS.
To configure an additional IP address on CentOS and Fedora, follow these steps:
cd /etc/sysconfig/network-scripts
In your preferred text editor, create a new file named ifcfg-eth0:0.
Add the following text to the file:
DEVICE=eth0:0 BOOTPROTO=none ONPARENT=yes IPADDR=xxx.xxx.xxx.xxx NETMASK=255.255.255.0
To restart the network interfaces, type the following command:
service network restart
To verify that the new IP address is active, type the following command:
ifconfig
The new IP address should be associated with the eth0 interface.
To configure an additional IP address on Debian and Ubuntu, follow these steps:
# The primary network interface auto eth0:0 iface eth0:0 inet static address xxx.xxx.xxx.xxx netmask 255.255.255.0
To restart the network interfaces, type one of the following commands:
/etc/init.d/networking restart
For Cloud VPS instances running Ubuntu:
ifdown -a --exclude=lo; ifup -a --exclude=lo
To verify that the new IP address is active, type the following command:
ifconfig
The new IP address should be associated with the eth0 interface.
For other Linux distributions, consult its documentation for the steps to configure additional IP addresses in the networking settings.
If you no longer want to use an additional IP address, you can release it. To do this, follow these steps:
If you need more than one IP address added, you must contact customer support. Additional IP addresses can be purchased. Reach out for support via LiveChat, or by filling out a support ticket where a customer support representative will be able to provide further guidance on adding additional IP addresses.
Subscribe to receive weekly cutting edge tips, strategies, and news you need to grow your web business.
No charge. Unsubscribe anytime.
Did you find this article helpful? Then you'll love our support. Experience the A2 Hosting difference today and get a pre-secured, pre-optimized website. Check out our web hosting plans today.
We use cookies to personalize the website for you and to analyze the use of our website. You consent to this by clicking on "I consent" or by continuing your use of this website. Further information about cookies can be found in our Privacy Policy.