Prerequisites
Before adding an IP address, make sure you have:
- Hostxpeed account with ability to add IPs
- SSH access to your VPS
- Root or sudo privileges
Step 1: Request Additional IP via Hostxpeed Portal
Log in to your Hostxpeed client area:
- Go to My Services → Your VPS
- Look for Additional IPs or Network section
- Request extra IPv4 address(es)
If not available, contact support.
Step 2: Configure IP on Ubuntu/Debian (Netplan)
Edit netplan configuration:
sudo nano /etc/netplan/01-netcfg.yaml
Add the new IP:
network:
version: 2
renderer: networkd
ethernets:
eth0:
addresses:
- YOUR_MAIN_IP/22
- NEW_IP_1/22
- NEW_IP_2/22
routes:
- to: default
via: GATEWAY_IP
Apply:
sudo netplan apply
Step 3: Configure IP on CentOS/Rocky/AlmaLinux
Edit interface file:
sudo nano /etc/sysconfig/network-scripts/ifcfg-eth0
Add:
IPADDR2=NEW_IP_1
PREFIX2=22
IPADDR3=NEW_IP_2
PREFIX3=22
Restart network:
sudo systemctl restart network
Step 4: Verify IP is Added
ip addr show | grep NEW_IP
ping -c 3 NEW_IP
Step 5: Configure Services to Use Specific IP
For Nginx:
server {
listen NEW_IP:80;
server_name example.com;
}
✅ Additional IP address has been added.