Overview

cPanel & WHM allows you to deny cPanel users the ability to create certain domains or use certain top-level domains (TLDs). This feature is useful, for example, to deny cPanel users the ability to park a well-known domain (such as google.com) on top of a domain.

For more information about the domains that cPanel users can create, read our Aliases and Addon Domains documentation.

Add to the list of user-denied domains

To add to the list of domains that cPanel & WHM does not allow users to create, perform the following steps:

  1. From the command line, run the following command to view the default list of domains that cPanel & WHM does not allow users to create.

    cat /usr/local/cpanel/etc/commondomains


  2. With a text editor, add the domains and TLDs that you do not want to allow users to create to the /var/cpanel/commondomains file.
  3. In the Domains section of WHM's Tweak Settings interface (WHM >> Home >> Server Configuration >> Tweak Settings), set the Prevent cPanel users from creating specific domains setting to On.

Additional documentation