Craft Posted June 3, 2019 Share Posted June 3, 2019 Hi, There are 2 domains I would like to host but the system gives me (Invalid domain name provided) error. These domains are (.eg) & (.com.eg) Any solution? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted June 3, 2019 Share Posted June 3, 2019 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... 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). 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. 0 Quote Link to comment Share on other sites More sharing options...
Craft Posted June 3, 2019 Author Share Posted June 3, 2019 (edited) 1 hour ago, brian! said: likely causes will either be that... 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). 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. Edited June 3, 2019 by Craft 0 Quote Link to comment Share on other sites More sharing options...
Craft Posted June 5, 2019 Author Share Posted June 5, 2019 @brian! any update? :) 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted June 5, 2019 Share Posted June 5, 2019 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. 0 Quote Link to comment Share on other sites More sharing options...
Craft Posted June 6, 2019 Author Share Posted June 6, 2019 @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 :) 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.