Portal Home > Knowledgebase > Articles Database > Prepopulated /var/cpanel/commondomains?


Prepopulated /var/cpanel/commondomains?




Posted by SajanP, 05-30-2012, 08:48 PM
There is a backstory, I posted on the cPanel forums but I guess my thread hasn't been approved yet, so I'll just get to the point. Because of an alleged bug in cPanel for checking nameservers, I need to "Allow Remote Domains". I'd like to get a good list going for the commondomains file which blocks domains and their subdomains from being created. The default list only includes those I've pasted below. I was wondering if anyone had a more robust domain list to block. I'm surprised cPanel hasn't even included paypal.com in there by default. google.com gmail.com hotmail.com aol.com yahoo.com excite.com cs.com juno.com mail.com email.com address.com altavista.net netscape.net netscape.com earthlink.net

Posted by Dexqt, 05-31-2012, 12:46 AM
This should be of some use. Hope it helps.

Posted by Rooter, 05-31-2012, 01:04 AM
What thread are you referring to on the cPanel forums? I would file a support ticket or bug report to have that investigated, so you don't have to mess with customizing an extensive and potentially never ending list of "common domains" to be blocked. If you would like cPanel to include it by default, I would consider submitting a feature request listing all the domains you think should be added to the default list. Last edited by Rooter; 05-31-2012 at 01:12 AM. Reason: Clarification

Posted by MichelleH, 05-31-2012, 02:07 AM
This one: http://forums.cpanel.net/f5/cannot-a...in-278752.html

Posted by SajanP, 05-31-2012, 06:34 AM
Just to update: I've made a new thread here with some updates what I was getting at in the cPanel.net thread which seems to have died. This explains why I'm looking for this list. http://www.webhostingtalk.com/showthread.php?t=1159822

Posted by SajanP, 05-31-2012, 06:38 AM
Wow, thanks for that! Looks like I'll need to write a quick script to display the list with each domain on a new line. I'll post the file I get off of that here for others to use. While this list is great to stop spammers from throwing their domains or subdomains on your server, it's still not a good list for what (in my eyes) the common domain block is meant to block. For example, paypal.com is not on that list. Will definitely use though, appreciate the link.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Gnax down? (Views: 687)
MySQL Logging (Views: 591)

Language: