This article provides suggestions for the Banned Subdomain Prefixes field of WHMCS administrative settings-as part of WHMCS Initial Setup.
Who should read:
- clients with Reseller Hosting with WHMCS
- WHMCS admins
What Are "Banned Subdomain Prefixes"?
Providers may offer a complementary subdomain of an existing domain as an alternative for clients who do not provide or register their own domain. Specifically, this practice is common with Shared Hosting services.
or services which users can opt for using a Banned Subdomain Prefixes prevent Orders from being created for Products (typically Shared Hosting)
For providers, there are often some subdomains which should be reserved and not for general use by clients. Banned Subdomain Prefixes is a list that prevents client Orders with Products using any subdomain that exists on the list. Instead, clients can be notified of the invalid selection and reselect the prefix immediately, preventing any delays to the order.
By configuring the Banned Subdomain Prefixes during initial WHMCS setup, providers are also able to avoid potential issues that could arise from creating accounts on the server for users assigned to certain subdomain prefixes (often required by the server software). An example would be "www" prefix, which is often reserved for public web files (as in "www.communitydomain.com") or "ftp" which is used by most File Transfer Protocal softwares (as in "ftp.communitydomain.com"). In either of those scenarios, most hosting providers will be facing issues if these subdomains are not reserved for their typically designated roles.
Commonly Reserved Subdomains
We have compiled a list of subdomain prefixes that are commonly used for other purposes. This list is in not fully-inclusive and users should make changes as necessary for their custom requirements.
View and download the source code at GitHub.
A comma-separated version is available here: https://github.com/Rad-Web-Hosting/banned-subdomain-prefixes/blob/master/comma-separated-common.txt
Prevent Copyright Infringement and Abuse
Banned Subdomain Prefixes can also be used to deter abusive and illegal use of copyrighted names.
Find an example list of company names here: https://github.com/Rad-Web-Hosting/banned-subdomain-prefixes/blob/master/copyright-examples.txt
Related: Guides for WHMCS