{"id":10849,"date":"2023-08-09T19:09:24","date_gmt":"2023-08-09T13:39:24","guid":{"rendered":"https:\/\/www.skynats.com\/?p=10849"},"modified":"2025-10-28T12:19:56","modified_gmt":"2025-10-28T06:49:56","slug":"change-the-timezone-in-the-cpanel-whm-server","status":"publish","type":"post","link":"https:\/\/www.skynats.com\/blog\/change-the-timezone-in-the-cpanel-whm-server\/","title":{"rendered":"How to change the timezone in the cPanel\/WHM server?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">To change the time zone in the cPanel\/WHM server, you&#8217;ll generally need to modify the server&#8217;s timezone settings through SSH or within WHM itself. Here are the steps to change the time zone:<\/p>\n\n\n\n<h2 class=\"wp-block-heading has-normal-font-size\" id=\"h-option-1-using-whm-web-host-manager\"><strong>Option 1: Using WHM (Web Host Manager)<\/strong><\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Log in to WHM as the root user.<\/li>\n\n\n\n<li>In the search bar at the top left of WHM, type &#8220;<strong>Change Time Zone<\/strong>&#8221; and select the option that appears.<\/li>\n\n\n\n<li>Choose the desired time zone from the drop-down list.<\/li>\n\n\n\n<li>Click the &#8220;<strong>Change Timezone<\/strong>&#8221; button to apply the changes.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading has-normal-font-size\" id=\"h-option-2-using-ssh-command-line\"><strong>Option 2: Using SSH (Command Line):<\/strong><\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Log in to the server using SSH as the root user.<\/li>\n\n\n\n<li>Run the following command to list available timezones:<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>timedatectl list-timezones<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">3. Find the time zone that you want to set and note down its name.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">4. Run the following command to set the desired timezone (replace Your_Timezone with the actual timezone)<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>timedatectl set-timezone Your_Timezone<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">5. Verify that the timezone has been changed by running:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>timedatectl<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Note: The above steps assume that you have root access to the server. If you&#8217;re not comfortable with these changes, it&#8217;s recommended to consult your hosting provider or <a href=\"https:\/\/www.skynats.com\/server-management\/\">server administrator<\/a> for assistance to avoid any potential issues.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">After you change the time zone in the <a href=\"https:\/\/cpanel.net\/\" target=\"_blank\" rel=\"noopener\">cPanel<\/a>\/WHM server, the updated timezone will take effect on the system, influencing both the server\u2019s 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&#8217;s important to carefully consider any potential implications before proceeding with the change.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To change the time zone in the cPanel\/WHM server, you&#8217;ll generally need to modify the server&#8217;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) Option 2: Using SSH (Command Line): 3. Find the time zone that you want to [&hellip;]<\/p>\n","protected":false},"author":14,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,764,103],"tags":[57,133,805],"class_list":["post-10849","post","type-post","status-publish","format-standard","hentry","category-blog","category-cpanel","category-cpanel-server-support","tag-cpanel-installation","tag-cpanel-server-management","tag-timezone-change-in-cpanel"],"_links":{"self":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/posts\/10849","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/users\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/comments?post=10849"}],"version-history":[{"count":1,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/posts\/10849\/revisions"}],"predecessor-version":[{"id":16419,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/posts\/10849\/revisions\/16419"}],"wp:attachment":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/media?parent=10849"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/categories?post=10849"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/tags?post=10849"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}