Knowledge Base
MilesWeb / How-Tos, Web Hosting FAQ

How to allow a VPS to set custom timezone ?

Approx. read time : 2 min

By default a VPS owner cannot set a custom timezone. The VPS uses the timezone as set on the node. At times, users need a custom timezone depending on their geographical location. For a VPS to set it’s own time, sys_time needs to be enabled on your node.

Please schedule a maintenance window as it involves a VPS reboot. Usually a maintenance window of 10 to 15 minutes is sufficient.

Login to your node and execute the commands below.

#vzctl stop
#vzctl set –save –capability sys_time:on
#vzctl start

Now try changing the timezone OR date on your VPS.

#ln -fs /usr/share/zoneinfo/Asia/Calcutta /etc/localtime

Feel free to contact our support team if in case you wish to set a different timezone.

Need help? We’re always here for you.