BLACK FRIDAY SALE IS LIVE !!!!!

Need Assistance?

In only two hours, with an average response time of 15 minutes, our expert will have your problem sorted out.

Server Trouble?

For a single, all-inclusive fee, we guarantee the continuous reliability, safety, and blazing speed of your servers.

How to change the timezone in the cPanel/WHM server?

To change the timezone on a cPanel or WHM (Web Host Manager) server, you typically need to adjust the server’s timezone settings via SSH or WHM itself. Here are the steps to change the time zone:

Option 1: Using WHM (Web Host Manager)
  1. Log in to WHM as the root user.
  2. In the search bar at the top left of WHM, type “Change Time Zone” and select the option that appears.
  3. Choose the desired time zone from the drop-down list.
  4. Click the “Change Timezone” button to apply the changes.
Option 2: Using SSH (Command Line):
  1. Log in to the server using SSH as the root user.
  2. Run the following command to list available timezones:
timedatectl list-timezones

3. Find the time zone that you want to set and note down its name.

4. Run the following command to set the desired timezone (replace Your_Timezone with the actual timezone)

timedatectl set-timezone Your_Timezone

5. Verify that the timezone has been changed by running:

timedatectl

Note: The above steps assume that you have root access to the server. If you’re not comfortable with these changes, it’s recommended to consult your hosting provider or server administrator for assistance to avoid any potential issues.

After making the changes, the new timezone should be applied to the server, affecting system time and applications that rely on the system’s timezone setting. Keep in mind that changing the timezone might affect scheduled tasks, logs, and other time-sensitive processes, so it’s a good idea to consider the potential implications before making the change.

Liked!! Share the post.

Get Support right now!

Start server management with our 24x7 monitoring and active support team

Can't get what you are looking for?

Available 24x7 for emergency support.