Skip to content

VPS: IP Configuration (Ubuntu/Debian)

Learn how to configure a static IP address on a Linux server running Ubuntu or Debian → Find out more

10 November 20263 min read0 Views0 helpful

Introduction

Configuring IP addresses on your Linux VPS lets you control how your server communicates over the network. This includes assigning IP addresses, defining the default gateway, and setting up the DNS servers required for network connectivity.

Warning

Can't reach your server because it has no internet connection? If your server is unreachable due to an incorrect network configuration or lack of internet connectivity, remote access via SSH may no longer work. Use the Console tab in your ZapX dashboard to connect to your server and correct the network configuration.

FAQ

Frequently asked questions

Use the Console tab in your ZapX dashboard to connect to the server and correct the network configuration.
In your VPS's ZapX dashboard, open the Overview tab and check the IP Addresses card. For ZAP-Hosting VPSs, the gateway is usually the .1 address of your assigned network.
Ubuntu uses Netplan. Edit the configuration file in the /etc/netplan/ directory (e.g. 50-cloud-init.yaml) and enter your IP address, gateway, and DNS servers.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 Users found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP support team knows your product — briefly describe your issue and we'll help you personally.

Zappy knows this guide and answers you right in the chat.