How to change the time zone for a particular site

Steps involved:
1) Make a copy of the original
2) Run “timeconfig”, and pick the timezone and accept. This creates a new /etc/localtime file with this timezone.
3) copy the new /etc/localtime to the users domain: domain.com (remember to change this)
4) restore your real timezone file:

cp /etc/localtime /etc/localtime.save
timeconfig
cp /etc/localtime /home/virtual/domain.com/etc/localtime
cp /etc/localtime.save /etc/localtime

No Comments »

Trackback URI | Comments RSS

Leave a Reply

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word