Everytime someone creates a user account it gives out my nameservers rather then cleints. How can i change this so whenever a client creates an account his nameservers are shown rather then mine?
Everytime someone creates a user account it gives out my nameservers rather then cleints. How can i change this so whenever a client creates an account his nameservers are shown rather then mine?
Last edited by punjabipredator; 09-28-2006 at 07:58 PM.
Whenever you create a domain in your server the name server values should be your server's name servers. The user should change the values in the domain registrar so that the domain is pointed to your server.
Otherwise you may register custom name server for each domain name through whm. But it's not advisable.
I have already given private nameservers but we share one IP address. Is it possible to have clients namservers being displayed rather then mine when someone is creating an account
Login to WHM
Basic cPanel/WHM Setup --> Primary Nameserver
--> Secondary Nameserver
These are the values taken by default.
Have your reseller choose "Edit Zone Templates " and change the templates to THEIR nameservers. Any account that he creates will have his nameservers installed.
Ron
Everytime i do this it gives me an error i try to change the domain name to my own. What changes do i need to make here exactly in these templates?Originally Posted by cpanelinfoseeker
If you have the original template as this:
Change it to this:; cPanel %cpversion%
; Zone file for %domain%
$TTL %ttl%
@ IN SOA %nameserver%. admin.mydomain.com. (
%serial% ; serial, todays date+todays
14400 ; refresh, seconds
3600 ; retry, seconds
1209600 ; expire, seconds
7200 ) ; minimum, seconds
%domain%. IN NS %nameserver%.
%domain%. IN NS %nameserver2%.
%domain%. IN NS %nameserver3%.
%domain%. IN NS %nameserver4%.
%domain%. IN A %ip%
localhost.%domain%. IN A 127.0.0.1
%domain%. IN MX 0 mail.%domain%.
mail IN A 111.222.111.222
www IN CNAME %domain%.
ftp IN CNAME %domain%.
Your template may be somewhat different, but look at the 5 lines with "theirdomain.com" in it for the 5 changes required. You may have as few as 2 actual nameservers, if so just don't add the 3 & 4 in your template.; cPanel %cpversion%
; Zone file for %domain%
$TTL %ttl%
@ IN SOA ns1.theirdomain.com. admin.whateverdomain.com. (
%serial% ; serial, todays date+todays
14400 ; refresh, seconds
3600 ; retry, seconds
1209600 ; expire, seconds
7200 ) ; minimum, seconds
%domain%. IN NS ns1.theirdomain.com.
%domain%. IN NS ns2.theirdomain.com.
%domain%. IN NS ns3.theirdomain.com.
%domain%. IN NS ns4.theirdomain.com.
%domain%. IN A %ip%
localhost.%domain%. IN A 127.0.0.1
%domain%. IN MX 0 mail.%domain%.
mail IN A 111.222.111.222
www IN CNAME %domain%.
ftp IN CNAME %domain%.
Ron
My template is like this. Would i need to do this in root or would i have to tell each of my reseller clients to do it? I do have only two nameservers. Please let me know. Thank You.
; cPanel %cpversion%
; Zone file for %domain%
$TTL %ttl%
@ %nsttl% IN SOA %nameserver%. %rpemail%. (
%serial% ; serial, todays date+todays
86400 ; refresh, seconds
7200 ; retry, seconds
3600000 ; expire, seconds
86400 ) ; minimum, seconds
%domain%. %nsttl% IN NS %nameserver%.
%domain%. %nsttl% IN NS %nameserver2%.
%domain%. %nsttl% IN NS %nameserver3%.
%domain%. %nsttl% IN NS %nameserver4%.
%nameserverentry%. IN A %nameservera%
%nameserverentry2%. IN A %nameservera2%
%nameserverentry3%. IN A %nameservera3%
%nameserverentry4%. IN A %nameservera4%
%domain%. IN A %ip%
localhost.%domain%. IN A 127.0.0.1
%domain%. IN MX 0 %domain%.
Last edited by punjabipredator; 09-29-2006 at 12:31 AM.
On our setup, our resellers have their own nameservers. Once the account is setup and they get the nameservers registered and working. We edit the DNS Zone for the reseller and take our nameservers out for their NS1 and NS2 etc... and put in their custom nameservers.
When they create new accounts it will setup their resold accounts with their nameservers. We did not need to edit the template for them, just the resellers DNS Zone.
Go into whm > Reseller Center > edit privelates/name serversOriginally Posted by punjabipredator
Adjust your resellers settings in there as well and you will not have to
edit the zone templates.
I am confused. If i add nameservers in there my nameservers get messed up. When i go to Networking Setup > Nameservers IP the namservers change.Originally Posted by jayh38
In the reseller setup you do not add the IP, just the name. Make sure under Tweak Settings you allow sharing nameserver Ip'sOriginally Posted by punjabipredator
Thank You So Much I Got It Working![]()