Adding a new domain in cPanel
I am leasing a server from Wiredtree and when I add a new "addon domain" in my cPanel account it creates a whole bunch of sub-domains automatically.
I can't find where the script is that performs these additions. I need a little help.
Thanks!
-
Under "Tweak Settings" I found "Proxy subdomain creation" with the description: Automatically create cpanel, webmail, webdisk and whm proxy subdomain DNS entries for new accounts. When this is initially enabled it will add appropriate proxy subdomain DNS entries to all existing accounts. (Use /scripts/proxydomains to reconfigure the DNS entries manually) However, I can't find where the script is getting the list from. Basically, I'm trying to prevent the automatic creation of the cpanel, webdisk and whm subdomains. But keep the mail, webmail, ftp, etc... 0 -
Hello :) You could disable the option in "Tweak Settings" that automatically creates subdomain DNS entries and then setup a hook to add the DNS entry of your choosing using the method described here: Adding custom dns-entries on sub-domain creation Note that the entries you referenced are already created by default. The only one you would have to setup through a custom modification is "webmail". Thank you. 0 -
Thanks, I'll give that a shot. 0
Please sign in to leave a comment.
Comments
3 comments