Where to start

If the server stopped answering after you changed the network settings, set up a VPN or turned on a firewall, log in through the console. Open the server's page in the control panel and click the console icon (Console and shared access). The console doesn't need the server's network, so you can fix everything through it even when SSH or RDP can't reach the server.

Look at the addresses and routes that are set up now:

ip a
ip route

The main network interface should have the server's IP address, and the ip route output should have a default via … line with the gateway. If the address is missing or the gateway is wrong, the network settings are broken. If you don't know the correct gateway, contact support and we'll tell you.

The network went down after a settings change

Ubuntu (netplan). The settings live in /etc/netplan/, usually in a single .yaml file. After editing, don't apply them right away, test them first:

netplan try

If the network drops after that, netplan puts the old settings back by itself in 2 minutes. If everything works, confirm the changes with Enter. Common mistakes in the file: tabs instead of spaces, a wrong indent, a missing gateway under routes.

Debian (ifupdown). The settings live in /etc/network/interfaces. After editing, restart the network:

systemctl restart networking

AlmaLinux and Rocky. The settings are managed by NetworkManager. The easiest way to change them is nmtui.

Windows. Open Control Panel → Network and Internet → Network and Sharing Center → Change adapter settings, then the adapter's properties and Internet Protocol Version 4 (TCP/IPv4).

Before any network change, it's a good idea to take a snapshot of the server: Snapshots and backups.

A new IP address doesn't work

An additional IP address ordered in the control panel is bound to the server, but it doesn't appear inside the system by itself. You need to add it to the network settings.

On Linux installed from the control panel there's the ipadd tool for this:

ipadd 203.0.113.10

It brings the address up right away and saves it in the settings. More details, also about Windows and IPv6, are in IP addresses and rDNS. The new address is added to the main network interface: you don't need a separate interface for each IP.

If you clicked Make primary next to another address, that changes the primary IP only in the control panel. Inside the system the primary address stays the same until you change it in the network settings.

Use only the addresses assigned to your server in the control panel. We check whether addresses that aren't assigned to anyone answer on the network. If a server has someone else's address set up, its network may be blocked.

Access was lost after turning on a VPN

If you run a VPN client on the server (WireGuard, OpenVPN or the VPN in Windows), it may send all of the server's traffic through the tunnel. The server then stops answering on its own IP address, and SSH or RDP disconnect.

Log in through the console and turn the VPN off. For WireGuard, for example:

wg-quick down wg0

To keep this from happening, don't send all traffic into the tunnel. In WireGuard that's the AllowedIPs = 0.0.0.0/0 line, change it to the networks you need. And if you want your computers to go online through the server, put a VPN server on it, not a client. A server accepts connections and leaves the server's own route alone.

A firewall locked you out

If you lost access after turning on a firewall, log in through the console and turn it off:

ufw disable

On AlmaLinux and Rocky, run systemctl stop firewalld. Then add a rule for SSH (or your own port) and turn the firewall back on. If fail2ban blocked your IP, see Can't connect over SSH.

Can't connect from just one address, while another one works? It's almost always the firewall or fail2ban on the server itself.

Websites don't open from the server

If the server is reachable but can't open websites or install packages, check DNS:

ping -c 3 1.1.1.1
ping -c 3 google.com

If the first command works and the second says the name can't be found, DNS isn't working on the server. Set DNS servers in the network settings, for example 1.1.1.1 and 8.8.8.8.

If nothing helped

Contact support. Tell us the server, what exactly you changed before the network went down, and the output of ip a and ip route from the console.