Guides & TutorialsOrder Forms IntroductionCustomising Domain Categories

Customising Domain Categories

What are Domain Categories?

Domain Categories are used on cart.php?a=add&domain=register to  group domain TLDs into categories such as "Popular", "Shopping", or  "Real Estate" and makes it easier for clients to navigate and find their  ideal domain extension:

Customising Domain Categories

The categories under which TLDs are listed can be customised by creating a file specifying the desired category. New and specialised TLDs can be also be categorised.

This is a simple 3-step process:

1. Begin by creating a custom categories.json file

2. Using your preferred code or text editor, define the domain categories you wish to use in a json array format. EG:


"Awesome Domains": [

3. Upload the file to your WHMCS installation's /resources/domains/ directory


That's all there is to it; the changes will take effect immediately and the domains are now be categorised as defined in the file.

In our example, the .com and .net TLDs are now listed under a new category called Awesome Domains:

Further Reading

To learn more about the domain categories overrides file, refer to the Domain Categories Documentation.