I want to host a laravel project in a subdomain.. For that first First I create a subdomain name registraion.
And inside the publicm_html/registraion i upload the project file. But when I see the project on url I saw only files not the project I stored.
what's the problem of uploading the laravel project? Can anyone help me to find it out?
Do as what @Samundra mentioned. If you have confusion this is the place where you need to put
public_html/registration/public
in your cPanel -> Sub-DomainAssuming you are using cPanel to create subdomain. Below are the general steps that are required to setup sub-domain for laravel-project.
public_html/registration/public/
folder, you can do this from sub-domain manager inside cPanel see.After following 1-3 steps you should see your laravel project. However you also need to setup proper file permissions on laravel's
bootstrap
,storage
folder to get it up and running.Let us know if this helps you or not.