Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

laravel_newb's avatar

Hosting laravel app

I have just developed a laravel app and now want to host it. I bought a domain and have access via cpanel. What should I do? Database configuration and any changes in the local file will be appreciated.

0 likes
1 reply
jlrdw's avatar

Recently this has been answered at least 10 to 15 times please do a search. Very detail answers have already been given. In fact https://laravel-news.com very recently had a complete article on just that question.

Name of the article is Installing Laravel in a Subfolder? Hide your .env file.

And https://laracasts.com/discuss/channels/laravel/upload-project-laravel?page=1 @Qlic answer.

Not to mention http://novate.co.uk/deploy-laravel-5-on-shared-hosting-from-heart-internet/

Please or to participate in this conversation.