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

nomnomkawaii's avatar

Laravel cPanel hosting

I am trying to host my laravel site on GoDaddy using cPanel, and I keep getting the errors:

"There is no existing directory at "/Users/nambihawkins/Desktop/blob/storage/logs" and its not buildable: Permission denied"

then when I clear my cache (which corrects this error...I believe) I get the error:

"No application encryption key has been specified."

then I'll generate a new key, but get the first error once more. What steps should I take to properly host the site? So far I've cleared caches, updated composer, and moved the required files out of the public folder for proper access. This is my first time hosting a site.

0 likes
1 reply
jlrdw's avatar

First, hosting has been answered hundreds of times.

Second, I have a laravel 5.5 working on godaddy.

Third you need to setup laravel correctly, use this guide:

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

And see

https://laracasts.com/discuss/channels/tips/hosting-on-shared-server-best-practice

For godaddy, get dev working and ftp up.

note

Set up correctly on dev also and before messing with production.

Following the guide that @Snapey kindly provided, I have had 0 (zero) errors on production.

And note that main laravel is above public_html

Also probably serve images from under public_html using asset helper.

Please or to participate in this conversation.