What is my website's root directory?
The root directory of your website is the content that loads when visitors access your domain name in a Web browser. The most obvious consequence of this is that you need to put your "index file" in your website's root directory for visitors to see your site at all (more info).
Website-related applications might also need to know your website's root directory.
Your website's root directory depends on whether the domain name is your primary domain name or another type (more info).
Your primary domain name's root directory is
Secondary and subdomain names' root directories were specified when they were set up. You can find them listed in cPanel.
To Find Secondary (Addon) and Subdomains' Root Directories
- Log in to your Masterweb Domains & More account.
- Click Hosting.
- Next to the account you want to use, click Manage.
- In the Domains section, click either Subdomains or Addon Domains, depending on the type of domain you're using.
The root directory displays in the Document Root field.