How to add an extra IP address to a server
An extra IPv4 helps when one address is not enough for a server: for separate sites or for mail, for example. Below: how to order an address in the panel and bring it up in the system.
Good to know before you order
A server can have up to 4 extra addresses. Each costs $2.99 a month. The server's main address does not change. The extra address is in the same country as the server.
An address is added at once and can be removed at any time.
An extra address helps when you need:
- separate addresses for different sites or services;
- a separate address for mail or service tasks.
How to add an address in the panel
- Open the server's page in the panel.
- Find the Extra IPv4 section.
- Add an address. It appears at once.
If the server was just created and the section is not there yet, reload the page in a couple of minutes.
How to bring the address up in the system
Usually the address appears on the server by itself. If it does not, add it by hand.
- Connect to the server over SSH.
- Look up the network interface name with
ip a. - Add the address:
ip addr add ADDRESS/32 dev INTERFACE
Put the new IP from the panel in place of ADDRESS and the name from the previous step in place of INTERFACE. - Check with
ip aagain: the new address must be in the list.
So the address survives a reboot
ip addr add works until the server reboots. To keep the address, add it to the netplan settings.
How to remove an address
If you no longer need the address, remove it in the same Extra IPv4 section. You can do it at any time.
Questions
How many extra addresses can I add?
Up to 4 per server. Each costs $2.99 a month.
Will the server's main IP change?
No, the main address stays. The new one works alongside it.
The address vanished after a reboot. What now?
Most likely it was added only with ip addr add. Put it into netplan and it will stay.
More in the help
- How to connect to a server over SSH, step by step
- How to reinstall the system on a server
- UFW blocked SSH: how to get back into the server
- An XFCE desktop on an Ubuntu server over RDP
- Signing in and protecting your account: e-mail, Google, Telegram, a code
- One-click apps: how to install one on a server
- Traffic and speed: what a plan includes
- Payment, renewal and auto-renewal of a server
- Which server to choose for your task
- Why a service shows another country for the server
- How to move to a higher plan and carry your data over
- Windows Server 2022 on a server: plans and connecting
- How to make a Minecraft server to play with friends
- How to put mods on a Minecraft server: Forge and Fabric
- How to make your own CS2 server to play with friends
- How to run a Telegram bot on a server so that it works 24/7
- How to put n8n on your own server: no limits on runs
- PIRS partner programme: 20 % of payments, with no end date