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 10: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
Booston Sentinel

👋 Hi there! Have questions about BoostonCP? Chat with us live!

Support Concierge
Sohan Riya Rafsan Jahid Shahariar Islam Rumena

Hi there 👋

How can we help you today? Our specialists and technical architects are standing by.

Send us a message

We typically reply in under a minute

Direct Department Routing
Technical
Server, PHP, Webservers
Billing
Invoices & Renewals
Sales
Plans & Pricing
Migration
1-Click cPanel Transfer
Frequently Asked Questions
How do I install BoostonCP on Ubuntu/Debian?
Can I migrate all cPanel backups without downtime?
How does 1-second Webserver Switcher work?

Booston Support

Support
24/7 Live Support
📷 Drop screenshots here to attach
Support Concierge is typing...

WhatsApp Support

Instant WhatsApp Support

Chat directly with our official technical engineers and sales specialists on WhatsApp.

Start WhatsApp Chat