vHost Conf to access child folder — CyberPanel - WebHosting Control Panel for OpenLiteSpeed
CyberHosting

vHost Conf to access child folder

I have created domain in my website panel (subdomain) in that subdomain I've uploaded laravel application which `index.php` file is placed inside `public` folder. So my laravel working address is like this

`/home/example.com/public_html/subdomain.com/public`

But when I visit my URL like: `example.com/subdomain.com` it loads "CyberPanel Installed" message which is referred to `/home/example.com/public_html/subdomain.com/` and not `/home/example.com/public_html/subdomain.com/public`

**My question is:**

How to config my server in order to, when i try to access `example.com/subdomain.com` in loads `/home/example.com/public_html/subdomain.com/public` and not `/home/example.com/public_html/subdomain.com/`?
Sign In or Register to comment.
CyberPanel Discord

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!