Problem:
When adding a domain or subdomain within a subscription, it does not respect the website document root for the subscription. Instead, it points to the accounts home folder.
For example, adding a new subscription will place the files in ~/httpdocs, however adding a domain places the files in ~/<domain name> instead of ~/httpdocs/<domain name>
I'm new to plesk so maybe this is by design, however it doesn't really make a lot of sense...
Of the hosting platforms I've used over the years, the system is setup with the home folder of the account (subscription in plesk terms) and a single folder that is publicly accessible for the website content (httpdocs?). From there, the root domain along with all addon-domains reside within that single "public" folder and all of the domains are separated within that httpdocs or public_html or www folder.
Unfortunately, plesk isn't doing this automatically on domain/subdomain creation... So, if a person wanted all of the website content within for example:
.../subscription1.com/httpdocs/subscription1.com
.../subscription1.com/httpdocs/domain2.com
.../subscription1.com/httpdocs/domain3.com
They have to remember to manually add httpdocs to the beginning of the domain when they add a domain or sub-domain, otherwise you end up with public websites residing in the root of the subscription like so:
.../subscription1.com/httpdocs/subscription1.com
.../subscription1.com/domain2.com
.../subscription1.com/domain3.com
The main problem lies with having multiple people maintain a subscription. If someone doesn't know any better or they're new to Plesk, they'll end up creating a bunch of domains that are within the accounts home folder, making it even more confusing that the "primary" domain actually resides within httpdocs. If there is only a single "httpdocs" folder that contains ALL of the website content, and the primary domain has already been placed within it's own folder inside httpdocs (with the expectation that there will be addon domains), all other domains or subdomains will automatically fall inline and have a proper home inside httpdocs.
The intended resolution:
What I would expect, is to have the "add domain" and "add subdomain" hosting settings default to home/httpdocs/<domain> instead of home/<domain>
When adding a domain or subdomain within a subscription, it does not respect the website document root for the subscription. Instead, it points to the accounts home folder.
For example, adding a new subscription will place the files in ~/httpdocs, however adding a domain places the files in ~/<domain name> instead of ~/httpdocs/<domain name>
I'm new to plesk so maybe this is by design, however it doesn't really make a lot of sense...
Of the hosting platforms I've used over the years, the system is setup with the home folder of the account (subscription in plesk terms) and a single folder that is publicly accessible for the website content (httpdocs?). From there, the root domain along with all addon-domains reside within that single "public" folder and all of the domains are separated within that httpdocs or public_html or www folder.
Unfortunately, plesk isn't doing this automatically on domain/subdomain creation... So, if a person wanted all of the website content within for example:
.../subscription1.com/httpdocs/subscription1.com
.../subscription1.com/httpdocs/domain2.com
.../subscription1.com/httpdocs/domain3.com
They have to remember to manually add httpdocs to the beginning of the domain when they add a domain or sub-domain, otherwise you end up with public websites residing in the root of the subscription like so:
.../subscription1.com/httpdocs/subscription1.com
.../subscription1.com/domain2.com
.../subscription1.com/domain3.com
The main problem lies with having multiple people maintain a subscription. If someone doesn't know any better or they're new to Plesk, they'll end up creating a bunch of domains that are within the accounts home folder, making it even more confusing that the "primary" domain actually resides within httpdocs. If there is only a single "httpdocs" folder that contains ALL of the website content, and the primary domain has already been placed within it's own folder inside httpdocs (with the expectation that there will be addon domains), all other domains or subdomains will automatically fall inline and have a proper home inside httpdocs.
The intended resolution:
What I would expect, is to have the "add domain" and "add subdomain" hosting settings default to home/httpdocs/<domain> instead of home/<domain>