SSCommerce Posted May 13, 2021 Share Posted May 13, 2021 We are looking for a solution to solve the following problem: If customer orders Domain only, the new registered domain should always point to the default nameservers of each registar - example: 1. New Domain via Registar 1 = Default NS Registar 1 2. New Domain via Registar 2 = Default NS Registar 2 3. Customers fills out the Nameserver fields during oder process = Individual NS set by customer Hope to find some input how to achieve this. 0 Quote Link to comment Share on other sites More sharing options...
0 developer _WHM_CS Posted September 23, 2021 Share Posted September 23, 2021 On 5/13/2021 at 4:16 PM, SSCommerce said: We are looking for a solution to solve the following problem: If customer orders Domain only, the new registered domain should always point to the default nameservers of each registar - example: 1. New Domain via Registar 1 = Default NS Registar 1 2. New Domain via Registar 2 = Default NS Registar 2 3. Customers fills out the Nameserver fields during oder process = Individual NS set by customer Hope to find some input how to achieve this. Hello @SSCommerce just registrar has access to check a private NameServer in the domain panel, 0 Quote Link to comment Share on other sites More sharing options...
0 steven99 Posted September 23, 2021 Share Posted September 23, 2021 Using a PreRegistrarRegisterDomain hook and modifying the domain to set the nameservers should work. Hard coding the nameservers would be easier as otherwise needs to have API setup or ability to access existing APIs and the registrar API needs to return the default registrar. 0 Quote Link to comment Share on other sites More sharing options...
0 PapaKai Posted September 28, 2021 Share Posted September 28, 2021 You can't identify if the ns provided in the order are set by whmcs or the customer 100%. e.g if the customer removes nameservers from input fields and saves, WHMCS keeps falling back to the configured nameserver set under general settings. Maybe a corner case, but worth to know. 0 Quote Link to comment Share on other sites More sharing options...
Question
SSCommerce
We are looking for a solution to solve the following problem:
If customer orders Domain only, the new registered domain should always point to the default nameservers of each registar - example:
1. New Domain via Registar 1 = Default NS Registar 1
2. New Domain via Registar 2 = Default NS Registar 2
3. Customers fills out the Nameserver fields during oder process = Individual NS set by customer
Hope to find some input how to achieve this.
Link to comment
Share on other sites
3 answers to this question
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.