Skip to content

Dedicated Server: IP Configuration (Ubuntu/Debian)

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

10 November 20262 min read0 Views0 helpful

Introduction

Configuring IP addresses on your Linux Dedicated Server 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

Server unreachable due to a missing internet connection? If your server is no longer reachable because of an incorrect network configuration or a missing internet connection, remote access via SSH may no longer work. Use the HTML5 console in Remote Management to connect to your server and correct the network configuration.

FAQ

Frequently asked questions

Connect to your server via SSH and open the Netplan configuration file in /etc/netplan/ (for example, with nano /etc/netplan/50-cloud-init.yaml). Enter your IP address, nameservers, and default route according to your network details.
You need the IP address to assign, the subnet mask, the default gateway, and the DNS servers. You can find these in the Network tab for your Dedicated Server in the ZapX panel.
Use the HTML5 console in Remote Management to connect to your server independently of its network connection and correct the configuration.

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.