Special Offer: Get 25% OFF your first order! Use code: WELCOME25
RETURN TO FORUM

Changing Document Root directory of a website

POSTED BY: laravel_dev ACTIVE_MEMBER POSTED ON: Jun 14, 2026 CATEGORY: GUIDE
My Laravel site requires pointing the document root to `/public` instead of the default directory. Can I do this via the panel?
12 Total Upvotes

REPLIES (1)

nginx_guru ACTIVE_MEMBER SOLUTION_ACCEPTED 2026.06.15 04:50
Yes, navigate to **Websites** -> click **Manage** on your domain -> open the **Domain Settings** tab -> locate the **Document Root** field and append `/public` -> click **Update Document Root**. Nginx configurations will reload automatically.

AUTHENTICATION REQUIRED TO JOIN THIS STREAM.

INITIALIZE LOGIN