Loading...

Knowledge Base

Changing your VPS or Dedicated Server root password

Keeping your VPS root password secure is essential for maintaining server safety. Depending on whether your VPS has a control panel installed, you can update the root password either via SSH or directly through WHM or from a Customer Control Panel.  Follow the appropriate method below.

Method 1 : Changing the password using the Customer Control Panel 

Steps: 

Step 2:

  • Go to Orders Section 
  • Click on "Orders" in the top menu to access your order details.

Step 3:

  •  Search using the domain name associated with the VPS/Dedicated Server

Step 4:

  • Click on "GO To Server Panel"

 

Step 5:

Click on "More options menu"

Click on "Reset Root Password"

Method 2 : Changing the password using SSH (No Control Panel)

If your VPS/Dedicated server does not have a control panel, you can easily update the root password using SSH access.

Steps:

  • Connect to your VPS using SSH.

  • Once logged in, run the following command:

          passwd

  • Press Enter.

  • Enter the new root password when prompted.

  • Re-enter the password to confirm.

Method 3 : Change Root Password Using WHM (cPanel Installed) 

Step 1:

  • Log in to WHM

         https://serverip/whm

Step 2:

  • Under "Server Configuration " click on "Change Root Password" 

Best Practices for Root Password Security

  • Use a strong password with uppercase letters, lowercase letters, numbers, and special characters.

  • Avoid reusing old passwords.

  • Update your root password periodically for enhanced security.

Loading...