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

ralee's avatar

Laravel 5 Public_html

Hi guys,

I am hosting my laravel application on a Godaddy shared hosting server. Problem is that after separating my public directory and my project folder into this structure. -laravel -public_html

Meaning they are on the same level. Elixir, img, script and css are still referencing the public folder in my laravel/public directory. How can i have it reference the public_html dir on the same level as the project folder?

I've been stuck for a few days now configuring the server. Can someone please help me?

Your help will be much appreciated!

Thanks in advanced, Thomas

0 likes
5 replies
jimmck's avatar

@kunalnagar/deploying-laravel-5-on-godaddy-shared-hosting-888ec96f64cd" target="_blank">https://medium.com/@kunalnagar/deploying-laravel-5-on-godaddy-shared-hosting-888ec96f64cd

jimmck's avatar
@kunalnagar/deploying-laravel-5-on-godaddy-shared-hosting-888ec96f64cd" target="_blank">https://medium.com/@kunalnagar/deploying-laravel-5-on-godaddy-shared-hosting-888ec96f64cd

jimmck's avatar

On third thought here is the google string.... Good Luck !!!!

laravel move public folder go daddy

ralee's avatar

Hi guys thanks for the prompt reply. @jimmck @absiddiqueLive I managed to solve the problem using symbolic links. Works like a charm. However only the / or the root route is working. Where as for the other routes to work i have to add 'index.php'/admin to have it load. Is anyone familiar with this issue?

Thanks, Thomas

Please or to participate in this conversation.