Jump to content

Adding custom TLD


Recommended Posts

We have a domain but we need we need to make it look like a tld. For example I have test.co domain. We creating subdomains like domain.test.co, domain2.test.co. We need say to WHMCS: test.co is TLD (domain extensions llike .com). We will let them use this when creating a web hosting order. 

For example:

https://imgur.com/WOHEQp4

Link to comment
Share on other sites

On 02/01/2021 at 12:33, Firat Kaya said:

We have a domain but we need we need to make it look like a tld. For example I have test.co domain. We creating subdomains like domain.test.co, domain2.test.co. We need say to WHMCS: test.co is TLD (domain extensions llike .com). We will let them use this when creating a web hosting order. 

the simpler solution would be to just enable the subdomain option in your product's setup.... add your domain to the subdomain options and users will be able to choose a subdomain of it during ordering.

https://docs.whmcs.com/Products_and_Services#Other

Quote

Subdomain Options — Enter a domain in the format ".yourdomain.com" if you want to offer a free subdomain option for the domain at signup. You can offer more than one by entering a comma separated list (for example, ".yourdomain.com,.yourdomain.net").

sGWhKVK.png

6F0M90R.png

... and in general settings -> other, you can edit the list of banned subdomain prefixes to ensure that users can't choose subdomains that you wouldn't want them to.

https://docs.whmcs.com/Other_Tab#Banned_Subdomain_Prefixes

Quote

This setting is used to prevent orders being placed using any of the subdomains listed within the field for products with the free subdomain option enabled. Add new subdomains to block in a comma separated list.

For example the default values will block users from placing orders using a subdomain such as ftp.yourdomain.com.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated