Symptoms
The cPanel Domains interface displays sites like the following for all users on the server.
CONFIG_TEXT: domain.tld.cpanel.site
domain.tld.cprapid.com
Cause
These alias domains are intended to be used for temporary resolution and should only be present within the Apache configuration. It has been found that actions like installing ea-Nginx or changing the Apache ports cause them to be built into the userdata. After this, the domains become visible in the interface.
We've opened an internal case for our development team to investigate this further. For reference, the case number is CPANEL-48145. Follow this article to receive an email notification when a solution is published in the product.
Resolution
Updates and further changes will repopulate these domains. As such, they can either be ignored or temporarily removed using the command below. This should normally only occur during installation or updates of ea-Nginx or when making changes to the Apache port configuration, but other changes may cause this.
# while read -r line; do line=$(echo "$line" | grep -E "cprapid.com|cpanel.site"); [ ! -z "$line" ] && cpapi2 --user=$(echo $line | cut -d':' -f2 | tr -d ' ') Park unpark domain=$(echo $line | cut -d':' -f1); done < /etc/userdomains
Comments
1 comment
Update: CPANEL-48145 is solved in the following cPanel & WHM version(s) and newer:
Article is closed for comments.