What Is My Domain’s Document Root?

A domain’s Document Root is the directory on the server from where the website installation will be loaded when a request is made. In this article, we will cover the basic usage of the Document Root directory and how to locate it on your hosting account.

To find out a domain’s Document Root you should first login to your cPanel account. If you’re not certain how to do that you can see how from our article here.

Primary Domain

You can see what your primary domain is from your cPanel’s General Information tab.

A Primary Domain’s Document Root is the public_html folder.

Addon Domain

You can view an Addon Domain’s Document Root from the Addon Domains tool in your cPanel account.

Subdomain

As with Addon Domains you can view a Subdomain’s Document Root from the Subdomains tool

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

What is php.ini?

Php.ini is one of the essential configuration files in PHP. When PHP starts, this is the file it...

Do you have any setup or hidden fees?

UniqueVPS does not charge any additional or hidden fees. All web hosting solutions, extra...

How many subdomains can I create with UniqueVPS?

You are free to create as many subdomains as you wish and install different site-building...

What is a subdomain?

A subdomain is a domain name that is part of a main domain. It might be a separate website with...

How to access the phpPgAdmin to manage my PostgreSQL?

Accessing phpPgAdmin is very straightforward. It is neatly located in every customers’ cPanel but...

Powered by WHMCompleteSolution