1

I'm a newbie to Laravel projects but I need to have one accessible over the internet so I tried using DirectAdmin but whenever I go to my domain I get an index (pictures attached).

I renamed the Laravel 'public' folder to 'public_html', is that correct? Here is my file structure. File structure

Here is what I get when I go to my assigned domain which isn't my website at all. Current webpage

The webpage should look something like this What the webpage should look like

I also found a laravel app using Softaculous linked here (https://panel.freehosting.com:2222/CMD_PLUGINS/softaculous/index.raw?act=software&soft=419). Am I required to use this app?

CaptainAB
  • 21
  • 2

1 Answers1

1

At first, you need to learn about the laravel directory structure. You don't need to change the laravel public folder to public_html. I am not sure how the DirectAdmin server works. but if you see a laravel directory instead of serving an application it's might be a path-related issue in your server. your domain should serve your application public folder.

I just found a tutorial for the DirectAdmin server with laravel. that might help.

Emtiaz Zahid
  • 2,645
  • 2
  • 19
  • 35