Creating Accounts With Reseller Problem

punjabipredator

Well-Known Member
Mar 6, 2006
53
0
156
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:

psk

Member
Apr 23, 2004
14
0
151
Next to you.. always..
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.
 

punjabipredator

Well-Known Member
Mar 6, 2006
53
0
156
:confused: 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
 

punjabipredator

Well-Known Member
Mar 6, 2006
53
0
156
cpanelinfoseeker said:
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?
 

cpanelinfoseeker

Well-Known Member
Oct 25, 2002
325
3
168
NE Illinois
cPanel Access Level
Root Administrator
If you have the original template as 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%.
Change it to this:
; 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%.
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.

Ron
 

punjabipredator

Well-Known Member
Mar 6, 2006
53
0
156
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:

rhenderson

Well-Known Member
Apr 21, 2005
785
2
168
Oklahoma
cPanel Access Level
Root Administrator
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.
 

jayh38

Well-Known Member
Mar 3, 2006
1,213
0
166
punjabipredator said:
:confused: 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
Go into whm > Reseller Center > edit privelates/name servers

Adjust your resellers settings in there as well and you will not have to
edit the zone templates.
 

punjabipredator

Well-Known Member
Mar 6, 2006
53
0
156
jayh38 said:
Go into whm > Reseller Center > edit privelates/name servers

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.
 

rhenderson

Well-Known Member
Apr 21, 2005
785
2
168
Oklahoma
cPanel Access Level
Root Administrator
punjabipredator said:
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.
In the reseller setup you do not add the IP, just the name. Make sure under Tweak Settings you allow sharing nameserver Ip's