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

mvww11's avatar

Deploying project to hostgator

Hello, folks!

I'm trying to deploy my project to a Hostgator shared hosting.

I followed this tutorial. Only the last step, changing one line on paths.php I couldn't accomplish because this file do not exists anymore on Laravel: http://shincoding.com/laravel/installing-configuring-laravel-shared-hosting/

I put all my project files on root/quasenerd_base/quase-nerd, except the content of the public folder, which I moved to root/public_html/quasenerd_public.

I successfully change the path on index.php to the quasenerd_base folder:

require __DIR__.'/../../quasenerd_base/quase-nerd/bootstrap/autoload.php';
$app = require_once __DIR__.'/../../quasenerd_base/quase-nerd/bootstrap/app.php';

When I access the url http://quasenerd.com.br/quasenerd_public I can see my main layout. But it won't load the @section of the page.

In adition, it won't load any other url of my project, such as http://quasenerd.com.br/quasenerd_public/login

I'm puzzled, because it loads the main layout of my home view, but not the other view that is called by a @section. Try it yourseld: http://quasenerd.com.br/quasenerd_public/

Any help will be much appreciated! Thanks

0 likes
2 replies

Please or to participate in this conversation.