Jump to content

Can't host (eg) domains


Craft

Recommended Posts

10 hours ago, Craft said:

There are 2 domains I would like to host but the system gives me (Invalid domain name provided) error.

likely causes will either be that...

  1. you have not added any pricing for .eg or .com.eg in your domain pricing setup (yeah I know they're not reg/transfer the domain etc).
  2. if memory serves, there is no whois server details in WHMCS for .eg by default - off-hand, i'm not even sure there is a public WHOIS server for Egyptian TLDs... so without that, you couldn't sell (reg/tran) those TLDs anyway.
10 hours ago, Craft said:

Any solution?

see if adding TLD pricing helps, or try adding from the admin area and hence bypassing the client area checks.

Link to comment
Share on other sites

1 hour ago, brian! said:

likely causes will either be that...

  1. you have not added any pricing for .eg or .com.eg in your domain pricing setup (yeah I know they're not reg/transfer the domain etc).
  2. if memory serves, there is no whois server details in WHMCS for .eg by default - off-hand, i'm not even sure there is a public WHOIS server for Egyptian TLDs... so without that, you couldn't sell (reg/tran) those TLDs anyway.

see if adding TLD pricing helps, or try adding from the admin area and hence bypassing the client area checks.

Yea it works when I added a price for (eg domain).

But I need another solution to allow purchasing any hosting plan with any TLD whatever it's real or not.

There is another hosting company, you can purchase hosting plan for any fake domain like this (blablabla.blablabla). Their system never search for TLDs if it's recorded at WHOIS or not.

alpha.png

Edited by Craft
Link to comment
Share on other sites

On 03/06/2019 at 15:52, Craft said:

But I need another solution to allow purchasing any hosting plan with any TLD whatever it's real or not.

i'm tempted to ask why you would want to sell a hosting plan with a TLD that possibly doesn't exist ?

On 03/06/2019 at 15:52, Craft said:

There is another hosting company, you can purchase hosting plan for any fake domain like this (blablabla.blablabla). Their system never search for TLDs if it's recorded at WHOIS or not.

perhaps they're using an older version of WHMCS were the validation was less strict ? I would need to see the site to know for sure.

https://help.whmcs.com/m/85428/l/1034165-troubleshooting-invalid-domain-name-provided-messages

14 minutes ago, Craft said:

any update? 🙂

technically, I am on holiday and haven't really thought about it! 🏖️

if you wanted to allow specific TLDs (real or otherwise), then you could add a dummy entry to whois.json and that would allow them to use that TLD in their own domain, but you couldn't use this method for wildcard entries for users wanting to enter a random string in the tld box.

    {
        "extensions": ".blahblah",
        "uri": "socket://whois.crsnic.net",
        "available": "NO OBJECT FOUND!"
    },	

other than that, perhaps a hook to bypass the validation - though i'm nowhere near a WHMCS install until the end of the week, so Kian might be able to help with that.

Link to comment
Share on other sites

@brian!

Off-course I don't want to sell hosting plans to fake domains, I just would like to allow my clients to purchase hosting plans for some domains although I don't sell it.

I added this code to a separate file (whois.json) for the specific domains I need and it worked fine :)

Thank you and have a nice holiday, enjoy it :)

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