TS

Doc Station

DocsAssignments
/
GitHub
/
  • Introduction
  • DevOps
    • Introduction
    • Ubuntu Server Setup
      • Server Setup
      • Rename Server Name
  • Frontend
    • Introduction
    • Frontend Websites 2025
      • Top 10
  • Docs
    • Introduction
    • DevOps
      • Introduction
      • Ubuntu Server Setup
        • Server Setup
        • Rename Server Name
    • Frontend
      • Introduction
      • Frontend Websites 2025
        • Top 10
  • Assignments
    • Introduction
Docs
/
DevOps
/
Ubuntu Server Setup
/
Rename Server Name

Steps to Rename the Server Names

Step 1#

hostnamectl set-hostname your-server-new-name

Step 2#

Now check hostname by typing:

hostname

Step 3#

Edit the hosts file:

vim /etc/hosts

And add this line:

127.0.1.1 customer-connect-bot

Step 4#

Save and exit.

Last updated on September 15, 2025
Server Setup
Introduction

    On This Page

  • Step 1
  • Step 2
  • Step 3
  • Step 4
Edit this page
2025 © Doc Station