Synchronizing Your Server's Clock

Synchronizing your server's clock is not very difficult as there is a program that can be ran by cron to keep it up to date automatically. This tutorial was written for CentOS so your actual command may vary if you are using a different Linux flavor that doesn't derive from Red Hat.

1.) Login to your server as root

2.) Install the ntp program using yum:
yum -y install ntp
3.) Start ntp by running the following:
service ntpd restart
4.) Ensure ntp starts automatically with your server by running the following command:
chkconfig ntpd on

Your server will now automatically stay synchronized with the atomic clock! No other changes are necessary and as long as the ntpd service is running, your server will periodically contact an atomic clock server for an update. If you need to change your time zone, see our tutorial Changing Your Server's Time Zone.

Rather Mean Servers do it for you? Not a problem, open a sales ticket with Mean Servers and we will ensure your time is synchronized and that the time zone is set to your desired locale. Please note that a small client help fee will apply unless you are a Enterprise Managed customer.
  • 85 Users Found This Useful
Was this answer helpful?

Related Articles

Setup Your Own Private VPN with PPTP

PPTP VPN IntroductionTired of being geo blocked and not being able to watch your favorite TV...

Protect DirectAdmin from Brute Force Attacks

A common method of gaining access over a server is to use a technique called a brute force...

Changing Your Server's Time Zone

Changing the time zone that your server is set to is relatively simple and straight forward. In...

Installing CSF (ConfigServer Security & Firewall)

The CSF, ConfigServer Security & Firewall, is a powerful firewall that is made for Linux...

Change Domain in DirectAdmin

This tutorial was written for those wishing to change their domain when using DirectAdmin as...