Introduction
There is currently no functionality built into the cPanel & WHM product that allows you to assign ownership of an unowned DNS zone. As such, the following procedure is for informational purposes only.
Procedure
- Access the server's command line as the 'root' user via SSH or "Terminal" in WHM.
- Backup the account data.
- Open
/var/cpanel/users/$cpuser
in your preferred text editor.
Please note that "$cpuser" must be replaced with the cPanel username to which the domain will be assigned. - Locate the DNS# lines (i.e., "DNS1," "DNS2," etc.).
- Add a new DNS# line below the last one.
DNS#=domain.tld
Please note that "#" must replaced with a number one greater than the last DNS# line and that "domain.tld" must be replaced with the domain to add to the account. - Save the changes and exit the text editor.
- Run the
updateuserdomains
script./usr/local/cpanel/scripts/updateuserdomains --force
Comments
0 comments
Article is closed for comments.