How to restrict common domain names in Eenos
Sometimes you may need to restrict the creation of common domain names in your hosting servers. It is not good to create hosting accounts with domain names like google.com or eenos.com. Eenos has the feature to do this.
The restricted domains are placed in the following file
/usr/local/eenos/etc/commondomains
How to restrict a domain name?
To restrict a domain name, add the domain name extensions one by one. An example is given below
echo "google.com" >> /usr/local/eenos/etc/commondomains
This will prevent users from using these domain names for account creation or website creation.