Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 13 of 13
  1. #1
    Member
    Join Date
    Mar 2006
    Posts
    53

    Exclamation Creating Accounts With Reseller Problem

    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.

  2. #2
    psk
    psk is offline
    Member
    Join Date
    Apr 2004
    Location
    Next to you.. always..
    Posts
    14

    Default

    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.
    Praveen S. Khan,
    Slashome Technologies Private Limited
    http://slashome.com

  3. #3
    Member
    Join Date
    Mar 2006
    Posts
    53

    Default

    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

  4. #4
    psk
    psk is offline
    Member
    Join Date
    Apr 2004
    Location
    Next to you.. always..
    Posts
    14

    Default

    Login to WHM

    Basic cPanel/WHM Setup --> Primary Nameserver
    --> Secondary Nameserver


    These are the values taken by default.
    Praveen S. Khan,
    Slashome Technologies Private Limited
    http://slashome.com

  5. #5
    Member cpanelinfoseeker's Avatar
    Join Date
    Oct 2002
    Location
    NE Illinois
    Posts
    320

    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

  6. #6
    Member
    Join Date
    Mar 2006
    Posts
    53

    Default

    Quote Originally Posted by cpanelinfoseeker
    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?

  7. #7
    Member cpanelinfoseeker's Avatar
    Join Date
    Oct 2002
    Location
    NE Illinois
    Posts
    320

    Default

    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

  8. #8
    Member
    Join Date
    Mar 2006
    Posts
    53

    Default

    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.

  9. #9
    Member rhenderson's Avatar
    Join Date
    Apr 2005
    Location
    Oklahoma
    Posts
    742

    Default

    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.
    Regards,
    Randy
    Affordable Web Hosting
    _________________________

  10. #10
    Member
    Join Date
    Mar 2006
    Posts
    1,215

    Default

    Quote Originally Posted by punjabipredator
    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.

  11. #11
    Member
    Join Date
    Mar 2006
    Posts
    53

    Default

    Quote Originally Posted by jayh38
    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.

  12. #12
    Member rhenderson's Avatar
    Join Date
    Apr 2005
    Location
    Oklahoma
    Posts
    742

    Default

    Quote Originally Posted by punjabipredator
    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
    Regards,
    Randy
    Affordable Web Hosting
    _________________________

  13. #13
    Member
    Join Date
    Mar 2006
    Posts
    53

    Default

    Thank You So Much I Got It Working

Similar Threads & Tags
Similar threads

  1. problem in creating reseller account
    By fahimi in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-20-2011, 06:08 PM
  2. reseller creating new accounts do not have DNS entry
    By sharmaine001 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-13-2009, 05:57 AM
  3. WHM Reseller is creating more accounts of allowed
    By maoc in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-24-2009, 02:31 PM
  4. Creating Reseller Accounts using PHP?
    By sshum in forum cPanel Developers
    Replies: 11
    Last Post: 09-17-2007, 07:54 PM
  5. creating reseller accounts and assigning ips
    By Chipster in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 12-22-2004, 06:10 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube