DEV Community

loading...
Cover image for Rename Ubuntu droplet

Rename Ubuntu droplet

adamkdean profile image Adam K Dean ・1 min read

To rename a Digital Ocean Ubuntu droplet, update /etc/hostname and /etc/hosts, then run:

service restart hostname
Enter fullscreen mode Exit fullscreen mode

You'll need either root access or sudo for this.

Discussion (0)

pic
Editor guide