Résumé: You can set your Plesk server date and time manually. You can also set up automatic synchronization with Network Time Protocol (NTP) servers to make sure that the date and time on your server is always correct.

In this topic, you will learn how to set the date and time on your Plesk server manually. You will also learn how to set up automatic time synchronization using NTP.

Setting the Date and Time Manually

Use this approach to manually set the date and time on your Plesk server.

Note: Take care not to misconfigure the date and time. Doing so may cause issues with Plesk or Plesk services. For example, 2FA may stop working, scheduled tasks may run not when you expect them to, or you may even become unable to log in to Plesk.

To set the date and time on a Plesk server manually:

  1. Connectez-vous à Plesk.
  2. Allez dans Outils & Paramètres > Date/Heure du système (dans « Paramètres généraux »).
  3. Cochez la case « Actualiser l’heure du système ».
  4. Set the date and time to the desired values. You can also select your time zone.
  5. (Plesk pour Windows) Si vous ne voulez pas que Plesk ajuste automatiquement l’heure du serveur, décochez la case « Régler l’heure automatiquement pour les passages à l’heure d’été / d’hiver ».
  6. Cliquez sur Enregistrer.

The changes to the server date, time, and time zone take effect immediately.

Setting up Automatic Synchronization of Date and Time Using NTP

To make sure that the date and time on your server is always correct, you can set up automatic synchronization with one or more NTP servers.

In Plesk for Linux, before you can do so, the free NTP Timesync extension must be installed on the Plesk server:

(Plesk for Linux) To set up automatic synchronization with the default NTP servers:

  1. Connectez-vous à Plesk.
  2. Go to Extensions, go to the « My Extensions » tab, locate the « NTP Timesync » extension, and then click Open.
  3. Select the desired NTP implementation from the « NTP Service » menu. If you are not sure which one to choose, select the one marked as « recommended ».
  4. (Optional) If one or more default NTP servers were removed from the list, click Set default OS NTP servers to reset the list of servers to the default ones.
  5. Cliquez sur Appliquer.

The date and time on the server will now be synchronized with the default NTP servers every 64 seconds. This will override any manual changes to the date and time you may have made.

If you want, you can replace some or all of the default NTP servers with custom ones. If you do, it is recommended to have between four and nine NTP servers on the list.

Note: It is your responsibility to make sure that the custom servers you add are valid NTP servers.

(Plesk for Linux) To set up automatic synchronization with custom NTP servers:

  1. Connectez-vous à Plesk.
  2. Go to Extensions, go to the « My Extensions » tab, locate the « NTP Timesync » extension, and then click Open.
  3. Select the desired NTP implementation from the « NTP Service » menu. If you are not sure which one to choose, select the one marked as « recommended ».
  4. (Optional) Remove one or more default NTP servers. To remove a server from the list, click the corresponding image cross icon icon.
  5. Add one or more custom NTP servers. To do so, click Add one more, and then enter the hostname or IP address of a valid NTP server into the blank field that appears at the bottom of the list.
  6. Once you are done removing and adding servers, click Apply.

The date and time on the server will now be synchronized with the custom NTP servers every 64 seconds. This will override any manual changes to the date and time you may have made.

(Plesk for Windows) To set up automatic synchronization with a custom NTP server:

  1. Connectez-vous à Plesk.

  2. Allez dans Outils & Paramètres > Date/Heure du système (dans « Paramètres généraux »).

  3. Select the « Synchronize system time » checkbox.

  4. Enter the hostname or IP address of a valid NTP server into the « Domain name or IP » field.

    Note: If you do not know what NTP server to use, you can specify one of the NTP Pool Project servers. Namely, « 0.pool.ntp.org », « 1.pool.ntp.org », « 2.pool.ntp.org », or « 3.pool.ntp.org ».

    image windows set ntp

  5. Cliquez sur Enregistrer.

The date and time on the server will now be synchronized with the specified NTP server every hour. This will override any manual changes to the date and time you may have made.

(Plesk for Linux) To disable automatic synchronization with NTP servers:

  1. Connectez-vous à Plesk.
  2. Go to Extensions, go to the « My Extensions » tab, locate the « NTP Timesync » extension, and then click Open.
  3. Select « None » from the « NTP Service » menu, and then click Apply.

The date and time on the server will no longer be synchronized with NTP servers.

(Plesk for Windows) To disable automatic synchronization with the NTP server:

  1. Connectez-vous à Plesk.
  2. Allez dans Outils & Paramètres > Date/Heure du système (dans « Paramètres généraux »).
  3. Clear the « Synchronize system time » checkbox, and then click Save.

The date and time on the server will no longer be synchronized with the specified NTP server.