Prevent users Creating Certain Domains

How to prevent user creating certain domains

You can use cPanel & WHM to prevent users creating certain domains. You can do this using the WHM Tweak Settings option labeled Prevent cPanel users from creating specific domains. For cPanel security purpose, this feature is very useful for admins. if you wish to prevent cPanel users from attempting to park a well-known domain (such as, ) onto his or her own domain.

You cpanel customers may be used unknown parked or addon domains to send spam emails or malware functions, so that we have used this options to prevent cPanel user creating certain domains.

You can add to the list of domains to which WHM applies this feature:

To see which domains WHM already blocks, view the file /usr/local/cpanel/etc/commondomains.

Create the file /var/cpanel/commondomains.
In /var/cpanel/commondomains, list the domains you wish to prevent cPanel users from creating.
1) You must separate domains with a newline.
2) You should only list domain names in /usr/local/cpanel/etc/commondomains (e.g. Listing a domain name will automatically prevent the creation of subdomains for the specified domain. For example, listing will prevent users from creating In addition, domains listed in this file should not contain a leading dot.

4) Make sure that, on the WHM -> Tweak Settings screen, Prevent cPanel users from creating specific domains is turned On

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

cPanel & WHM Version 74 Now in STABLE

cPanel has released cPanel & WHM Version 74 to the STABLE tier. It includes updates for some...

Installing cpanel on google cloud

Create a new CentOS 7 instance on your google cloud engine. From the cPanel & WHM System...

Install Free SSL Let’s Encrypt plugin in cPanel

Let’s Encrypt is a trusted, open source certificate authority that offers free SSL certificates...

Replace MySQL with Percona in cPanel Server

Percona Server is an enhanced drop-in replacement for MySQL. If you are a web hosting service...

Install nginx as a reverse proxy cPanel plugin

Install Nginx on your cPanel/WHM server using the Engintron cPanel Plugin as a reverse proxy. It...

Powered by WHMCompleteSolution