When buying a server with a location in another country, there is a time synchronization on the server with the local time. This is done primarily for convenience. For example, when you need to specify the start time for executing cron or other scripts. Due to the different time between the server and your country, confusion can often occur. Similarly, this is inconvenient when reading log files or analyzing statistics.
On the server, time is given via a iran whatsapp data zone. On VPS/VDS you can completely change the server time, on virtual hosting only for PHP. You can specify a new zone via SSH and using the hosting control panel.
Via SSH
We connect to the server as the root user, then delete the current configuration for the set time zone using the command:
How to change time zone on hosting and VPS server
-
- Posts: 608
- Joined: Sun Dec 15, 2024 3:22 am