Subdomain Structure

One of the most common issues resulting from the migration are due to the change in how the website document roots work on the new control panel. For example, previously the document root for a main domain on a cPanel server was:


/home/username/public_html/

On the new DirectAdmin control panel system, the DocumentRoots are handled like so:



/home/username/domains/example.com/public_html/

 

In the case of your subdomain DocumentRoot structure, the file path would once again be different than on a cPanel based server. On a cPanel based server, the document root for sub.example.com would be as follows:

 

/home/username/sub.example.com/

 

On the new DirectAdmin servers, your subdomain DocumentRoot would be located here:

 

/home/username/domains/example.com/public_html/sub/

 

 

If you are having any problems at all, please contact [email protected] with your account support pin as well as a detailed description of the problem and we will be happy to assist. Please note that response times may be a bit delayed during our migration periods.

  • directadmin, DirectAdmin, directory listing, directory structure, direct admin, subdomains, subdomain, domain, domains
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Change main domain with DirectAdmin

To change the main domain on your account, you will first want to log in to the DirectAdmin...

How to create a domain pointer in DirectAdmin?

You can use your additional domain and point it to the root of your primary site. If your primary...

How to remove domain pointer in DirectAdmin?

1. Login to your DirectAdmin Account. 2. In the Account Manager section, click on the Domain...

How to create domain Alias in DirectAdmin?

With domain alias, You can access old.example.com on new.example.com and some other services. 1....

How to remove alias domain in DirectAdmin?

1. Login to your DirectAdmin Account. 2. In the Account Manager section, click on the Domain...