Trouble setting up a custom root folder for a subdomain

mpolak

New member
Joined
Nov 13, 2015
Messages
1
Hi all,

I recently uploaded a Laravel 5 project to my company's server, which hosts many different sites.

The project is located on:

/domains/mysite.com/public_html/user/laravel-project

This means that the live site can be accessed on the following URL:

www.mysite.com/user/laravel-project/public/

However, for Laravel projects, the root directory has to be the "public" folder. I am having trouble setting it up as the new document root on DirectAdmin.

I've found a few posts on the subject, but they all seem to refer to setting up the document root for a subdomain with this format:

- subdomain.domain.com

Whereas in my case it's

- domain.com/subfolder/subfolder/subfolder

I would really appreciate any help with this, as I'm totally new to DirectAdmin. I have successfully uploaded a Laravel project and changed its root folder on the host SiteGround before.

Thanks in advance,

M. Polak
 
Back
Top