To change the time zone in the cPanel/WHM server, you’ll generally need to modify the server’s timezone settings through SSH or within WHM itself. Here are the steps to change the time zone:
Option 1: Using WHM (Web Host Manager)
- Log in to WHM as the root user.
- In the search bar at the top left of WHM, type “Change Time Zone” and select the option that appears.
- Choose the desired time zone from the drop-down list.
- Click the “Change Timezone” button to apply the changes.
Option 2: Using SSH (Command Line):
- Log in to the server using SSH as the root user.
- 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 you change the time zone in the cPanel/WHM server, the updated timezone will take effect on the system, influencing both the server’s system time and any applications dependent on this setting. Be aware that altering the timezone may impact scheduled tasks, logs, and other time-sensitive operations, so it’s important to carefully consider any potential implications before proceeding with the change.