List of Articles Icon

Knowledge Base

Guides and answers for your VPS, the client area, and billing

How do I set my IP or IPv6 address on my VPS?

What this is

You're looking for where to enter your IP address, gateway, and netmask, or how to configure IPv6. The short answer: you don't need to. Every VPS is delivered with its networking fully configured, IPv4 and IPv6 addresses, gateway, netmask, routes, and DNS are all applied automatically when the VPS is deployed, and the platform keeps them correct through reinstalls and migrations.

There is no setup step you're missing. If the VPS is running, its network is configured.

Where to see your values

You may still want the numbers, to verify something, to configure an additional IP, or for your own records:

  • Client area: the Network tab on your VPS's manage page lists every IPv4 and IPv6 address with its netmask and gateway, and is also where reverse DNS is set and extra IPs are requested.
  • Inside the VPS: ip addr shows the addresses, ip route shows the gateway, cat /etc/resolv.conf shows DNS.

If you changed the config by hand and lost the VPS

Editing the network configuration manually (netplan, /etc/network/interfaces, NetworkManager, or direct ip commands) is one of the most common self-inflicted outages we see: one wrong octet or a removed route, and the VPS drops off the network, taking your SSH session with it.

The recovery is one click, and it works precisely because it doesn't need your VPS to be reachable:

  1. Open My VPS is Down (https://vpsdime.com/myvpsisdown) and select the VPS.
  2. Let the diagnostics run, then click Auto-fix network.
  3. The platform rewrites the VPS's network configuration from our records, IPs, routes, and DNS, give it about 30 seconds, then connect again.

That button is also the answer if you're restoring an old backup whose network config no longer matches, or if a configuration tool inside the VPS mangled things. On Premium VPS and Windows VPS, use the Console to revert your change instead.

If you're configuring something on purpose

Legitimate reasons to touch network config exist, bringing up an additional IP you've ordered, or an advanced routing setup. The values you need are on the Network tab, exactly as listed (address, netmask, gateway). Make the change survivable: keep a Console session open while you apply it, and know the Auto-fix button above resets the standard configuration if it goes sideways, without touching your data.

Still need help?

You can open a support ticket. So we can help on the first reply, it's worth mentioning:

  • the VPS hostname or IP,
  • what you changed (or which file) before connectivity was lost,
  • whether Auto-fix network brought it back.
  • "How do I set a static IP on my VPS?"
  • "What are my gateway and netmask?"
  • "How do I configure my IPv6 address?"
  • "I edited my network config and now I can't connect."
  • "Does my VPS use DHCP?"
  • "Where do I find my IP settings?"
Last reviewed: 2026-07-04