With the integration of your server to the Leaseweb network infrastructure, you may need to change the "NTP server".
If you were using at least one the the following legacy iWeb's NTP servers, you will need to modify the NTP server of Leaseweb or another one of your choice.
ntp.iweb.comntp01.co.iweb.comntp01.ne.iweb.comntp01.cl.iweb.com |
How to Modify the NTP Server
Ubuntu/Debian
On Ubuntu/Debian, there can be two services to configure the NTP server. Timesyncd or NTPd.
To validate if you are using NTPd use the following command.
systemctl status ntpd.service |
If the service is running, continue with the NTPd configuration.
Otherwise, go to the Timesyncd section.
Configuration with NTPd
To modify the configurations on Ubuntu or Debian follow these steps:
-
Edit the "ntp.conf" file.
sudo nano /etc/ntp.conf -
Delete any line with the iWeb server and replace them with the following server.
server ntp.leaseweb.com -
Restart the NTPd service.
systemctl restart ntpd.service -
Verify the synchronization with the server.
ntpq -np
Configuration with timesyncd
To modify the NTP server on Ubuntu or Debian follow these steps:
-
Edit the "timesyncd.conf" file.
sudo nano /etc/systemd/timesyncd.conf -
Replace the text to look like this:
[Time]NTP=ntp.leaseweb.comFallbackNTP=pool.ntp.org -
Restart the timesyncd service.
systemctl status systemd-timesyncd -
Verify if the modification is applied.
systemctl status systemd-timesyncdYou should see a line similar to the one below.
Status:"Initial synchronization to time server 23.106.249.200:123 (ntp.leaseweb.com)."
Redhat Base
Distribution Supported:
- RedHat
- CentOS
- Almalinux
- Rocky Linux
To modify the NTP server on a Redhat bas distribution, follow these steps:
-
Edit the "chrony.conf" file.
sudo nano /etc/chrony.conf -
Find the line with the legacy iWeb's NTP server and replace it with the following line.
server ntp.leaseweb.com iburst -
Restart the chronyd service.
systemctl start chronyd -
Verify if the modification is applied.
chronyc trackingYou should see a line similar to the one below..
Reference ID : 176AF9C8 (ntp.aaa0.aa.leaseweb.net)
Windows
To modify the NTP server on Windows follow these steps:
-
Open a PowerShell console and write each of the next commands one at a time followed by the "Enter" key.
Push-LocationSet-LocationHKLM:\SYSTEM\CurrentControlSet\services\W32Time\ParametersSet-ItemProperty. NtpServer"ntp.leaseweb.com"Pop-LocationStop-Servicew32timeStart-Servicew32timeSet-TimeZone-name"Eastern Standard Time" -
Verify if the modification is applied.
w32tm /query /configuration -
You should see a line similar to the one below..
NtpServer: ntp.leaseweb.com (Local)
VMware
To modify the NTP server on VMware follow these steps:
-
Stop the NTP service.
esxcli system ntp set -e=no -
Specify the NTP reference server by FQDN
esxcli system ntp set -s=ntp.leaseweb.com -
Start the ntpd service
esxcli system ntp set -e=yes