In WHM =>Server Configuration => Tweak Settings I disabled "
Restrict document roots to public_html". Which made life much easier, espesially if one single cpanel account has many addon domains and subdomains, which made main domain folder a huge trashbin. Now addon domains and all subdomains have separate folders outside of main domain folder.
The question is, how to get rid of cPanel's pointless subdomains generation?
For example: main domain = somehost.com; now I add addon domains into a separate folders, lets say cooldomain.com and amazinghost.com.
Why do I turn it off that cPanel generates huge amount of subdomain, that have absolutely no need, but stores garbage.
cPanel will make:
1)cooldomain.com.somehost.com
2)www.cooldomain.com.somehost.com
3)amazinghost.comsomehost.com
4)www.amazinghost.com.somehost.com
It is terribly annoying and I want to get rid of it. No unneeded subdomains. How can I turn it off? (cPanel even denies to delete those trash subdomains, if addon domain not deleted either).
I want to get clean and pleasant to use environment. Also if there are 10 domain + 10 subdomains on each - there will be such a huge mess of unneeded subdomains, that it's impossible without going angry find needed ones.
Any solution please? Or if currently none available, could you please include that feature in future updates for WHM/cPanel?
With best regards,
Roman
Restrict document roots to public_html". Which made life much easier, espesially if one single cpanel account has many addon domains and subdomains, which made main domain folder a huge trashbin. Now addon domains and all subdomains have separate folders outside of main domain folder.
The question is, how to get rid of cPanel's pointless subdomains generation?
For example: main domain = somehost.com; now I add addon domains into a separate folders, lets say cooldomain.com and amazinghost.com.
Why do I turn it off that cPanel generates huge amount of subdomain, that have absolutely no need, but stores garbage.
cPanel will make:
1)cooldomain.com.somehost.com
2)www.cooldomain.com.somehost.com
3)amazinghost.comsomehost.com
4)www.amazinghost.com.somehost.com
It is terribly annoying and I want to get rid of it. No unneeded subdomains. How can I turn it off? (cPanel even denies to delete those trash subdomains, if addon domain not deleted either).
I want to get clean and pleasant to use environment. Also if there are 10 domain + 10 subdomains on each - there will be such a huge mess of unneeded subdomains, that it's impossible without going angry find needed ones.
Any solution please? Or if currently none available, could you please include that feature in future updates for WHM/cPanel?
With best regards,
Roman