Login
User:       Password:    
portal

The knowledgebase is organized into different categories. Choose a category for a list of articles or search the knowledgebase for articles related to your question.

Search Knowledgebase



How do I change the timezone on my virtual private server?

« Back

SYMPTOMS
  • The time on your virtual private server is incorrect.


SOLUTION
By default, your server is set to Greenwich Mean Time (GMT). If you would like to change your timezone, you need to create a link from /etc/localtime to the appropriate time zone file.

1. Connect to your server as root via SSH.
2. Remove your current timezone setting by executing the following:
rm /etc/localtime
3. List available timezones on your server:
ls -1 /usr/share/zoneinfo/
4. Determine which timezone you wish to use, then set the timezone by issuing the following command:

(We're using EST5EDT in this particular example)
ln -s /usr/share/zoneinfo/EST5EDT /etc/localtime
5. Check the time to ensure it's correct by issuing the following command:
date
You will see something similar to this:
Fri Mar 15 20:18:31 GMT 2013


« Back

Also Read
Adding FTP accounts (Views: 7426)

Powered by WHMCompleteSolution

Tuesday, 4th October 2022

IP: 44.200.137.63

Client Login

Email

Password

Remember Me

Forgotten Your Password?
Request a Password Reset


Webhosting Panel

>>> Panel Login

>>> Webmail

Search Knowledgebase