Back

subdomain folder structure


I am planning to install my laravel app in a subdomain.

I can create a folder (for subdomain) outside public_html and install the app there. I just installed like this and it works. But my question is how it would be in terms of security.

If anyone can suggest a better way to install laravel app on a subdomain, I would be much thankful to you.

Lakmal

Solution Reply

it doesn't matter, as long as you're pointing the sub domain to a folder somewhere safe. the files in sub domains does not have to reside in the main domain's folder.


Sign in to participate in this thread!


We'd like to thank these amazing companies for supporting us