Hello everyone,
I recently installed a fresh HestiaCP server and migrated several websites from Plesk to this new server.
Server Information:
- Hestia Control Panel: v1.9.8
- Operating System: Ubuntu 24.04 (x86_64)
Most of the migrated websites are running OpenCart, and they all work perfectly after the migration.
However, one website is built with Laravel and has a separate frontend and backend (API) architecture.
Previous structure on Plesk
Frontend:
/var/www/vhosts/domain.com/
Backend (API):
/var/www/vhosts/api.domain.com/
The application worked perfectly on the Plesk server.
Current structure on HestiaCP
Frontend:
/home/user/web/domain.com/public_html/
Backend (API):
/home/user/web/api.domain.com/public_html/
During the migration I completed the following steps:
- Copied all frontend files.
- Copied all backend (API) files.
- Exported the MySQL database from the old server.
- Imported the database successfully into the new server.
- Updated the Laravel
.envfile with the new database credentials. - Verified that both domains point to the correct directories.
- Confirmed that PHP is working correctly.
Despite completing all these steps, the Laravel application does not work on HestiaCP, while every OpenCart website functions normally.
I would like to know if Laravel applications require any additional configuration on HestiaCP that differs from Plesk.
For example:
- Nginx/Apache configuration
- Document Root requirements
- File permissions and ownership
- Storage and cache configuration
- PHP-FPM settings
- Rewrite rules
- Any HestiaCP-specific configuration required for Laravel
Has anyone experienced a similar issue after migrating a Laravel application from Plesk to HestiaCP?
Any advice or suggestions would be greatly appreciated.
Thank you.