This is an old revision of the document!


VPS Shows the Wrong Time

The VPS system clock is synced with the dom0 (host) clock unless an independent “wall” clock is specified. This is done by performing the following:

# echo 1 > /proc/sys/xen/independent_wallclock

To make this change persist on boot, edit /etc/sysctl.conf and add the following on a new blank line:

xen.independent_wallclock = 1

Then you may set the time as you desire, or sync it with an NTP server, e.g.:

# rdate -s rdate.cpanel.net