Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: How to prevent user to create certain domains?  (Read 2355 times)

0 Members and 1 Guest are viewing this topic.

mohitht

  • Guest
How to prevent user to create certain domains?
« on: January 29, 2014, 07:08:16 pm »
Hi All,

In cPanel we can restrict a user to create certain domains.This feature can be enabled using tweak settings.

To view the common domains listed in cPanel & WHM we can check the file
#vi /var/cpanel/commondomians


To add the list of domain names that should not to be used by users first create a file under
/var/cpanel/commondomains

separate the domains name by entering in newline

Before doing this make sure that Under tweaksettings in WHM check Prevent cPanel users from creating specific domain


That's it :)

Thanks for your time  :)