Knowledge Base Hub

Browse through our helpful how-to guides to get the fastest solutions to your technical issues.

Home  >  How-Tos  >  How to allow a VPS to set custom timezone ?
Top Scroll

How to allow a VPS to set custom timezone ?

 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.

For our Knowledge Base visitors only
Get 10% OFF on Hosting
Special Offer!
30
MINS
59
SECS
Claim the discount before it’s too late. Use the coupon code:
STORYSAVER
Note: Copy the coupon code and apply it on checkout.