Skip to main content

Web Root vs Document Root

hosting

The web root is the top-level directory the web server reads files from for a site — on cPanel accounts usually public_html. By contrast: The document root is the directory on the server that a domain serves files from, typically public_html.

The pair is confused because both appear in the same settings screens and the same invoices. The working rule: when a requirement names web root, handle it there; when it names document root, handle it there. Settling that question before buying or configuring anything is what keeps the difference from costing rework later.

SteboHost support fields this comparison weekly — call +254 703 610 464 or write support@stebohost.com with the setup described in your own words, and the distinction will be applied to your case rather than quoted from a glossary.

Related topics