How to Update VPS Timezone (OpenVZ)

Your OpenVZ will reflect the host server's time settings by default; however, it is possible to configure your VPS to use a custom timezone, such as the one you (or your users) reside in.

To set your server's timezone, first log in as the root user via SSH, then run the following command to list all available timezones:

# find /usr/share/zoneinfo/

You can use grep to refine the search:

# find /usr/share/zoneinfo/ | grep -i turkey

Once you have selected a timezone, create a symbolic link to /etc/localtime:

# ln -f -s /usr/share/zoneinfo/CST6CDT /etc/localtime

To verify the timezone change, use date:

# date

  • payment
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

What happens when a VPS reaches its bandwidth limit?

If your VPS exceeds its bandwidth limit, our system will automatically suspend the service. You...

OpenVZ or Xen VPS - Which is faster, and which is better?

The question is often asked whether OpenVZ or Xen, two of the most common hypervisors in VPS web...

How to Check CPU Info with SSH on Linux VPS

To check the CPU allocation and information on your VPS, simply log in to SSH as root, and run...

Basic iptables Usage & Commands

Iptables is a program that allows you to configure Linux's built-in firewall. By default, no...

Do I need a VPS? (Shared vs. VPS Hosting)

We often hear the question, "do I need a VPS?" Whether you are looking to upgrade from Shared...