MilesWeb
Leading Web Hosting Provider in India Since 2012.
Award-winning Web Hosting Company
Everything that you need to build, host and manage a website is available at just 99/mo

How to allow a VPS to set custom timezone ?

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.

Leave a Reply

Your email address will not be published. Required fields are marked *