In order to setup a different time zone for a particular domain, you need to specify the time zone in the file called “php.ini”. If you are hosting a website on server with “suphp” as PHP handler, you can specify the time zone in php.ini file on the server. Follow the below steps to set time zone for a particular domain on server.
Step 1: Login to your server using your root login credentials. #
Step 2: Enter the following command to find php.ini file on the server. #
php -i | grep php.ini
Step 3: Once you get the file, edit it using the vi editor “vi command” and set the following parameters. #
Step 4: Now save the file. #