Welcome to ciysys blog

Configure server IP address & DNS

Published on: 22nd Apr 2014

Updated on: 30th Jan 2022

Why

In cloud hosting, the public IP address will be assigned to your server upon creating a new instance. In this case, you may skip this section.

But, if you are installing an Ubuntu server in your office or home, then, you may want to configure the server IP address and DNS.

Here's how you configure it

During the installation, I chose the DHCP option to configure the server IP address. After installation is completed, assign a static IP address.

Starting from Ubuntu version 16.04, you may use netplan to handle the network configuration.

The old way in the older Ubuntu version

Operation notes

Reference

Related posts

Jump to #UBUNTU blog

Author

Lau Hon Wan, software developer.