Detect and Clean a hacked server T0rnkit Tutorial Published: Apr 22, 2004
  • Rating


Learn how to assign reseller accounts with their own private name servers such as ns1 and ns2 for their own clients in WHM.

Learn how to assign reseller accounts with their own private name servers such as ns1 and ns2 for their own clients in WHM.
Resellers can also have their own private name servers for their own clients making the server provider more anonymous and the reseller more credible.

Lets Begin!
We assume that you have already setup your resellers account and that you want to just add private name servers for them.
A guide on setting up reseller accounts will be provided soon in the Cpanel Tutorials section.

What You Need
2 free ip addresses
WHM root access to the server

Setting it up in WHM
Now that the name servers and IPs are registered we need to set them up on the server.

1. Login to your WHM account as root.

2. Click on Reseller Center on the left hand side.

3. Under Edit Reseller Privileges/Nameservers, select the reseller account you want to provide with private name servers.

4. Scroll down to the very bottom of the page until you see 4 entry boxes and it reads: Primary Nameserver:

See the attached image, click for enlargement.
Setting private reseller nameservers

5. In the Primary Nameserver field enter:

6. Click "Assign IP Address"

7. Click "Add an A Entry for this nameserver"

8. In the Secondary Nameserver field enter:
Repeat steps 6 and 7 for the Secondary Nameserver.

9. Click Save

10. Write down your resellers IPs and what name servers they belong to, on WHM click on Manage Nameserver IPs to view all name servers running.

Finishing Up

Register the name servers, have your reseller login to your domain management page for the domain you registered and  register and as nameservers (registries normally have a special facility for doing that). The registry may also have a facility to propogate these nameservers around the foreign registries - if so, you should use this facility.

These registrations may take a few days to propagate (often as many as 3 days).

Your resellers can now have their clients enter and helping your reseller look more professional and keeping them anonymous from you.


  • Rating


Related Articles

Comments (3)

  • Gravatar - Steven Ciaburri
    Steven Ciaburri 04:35, May 2, 2004
    PLease note run rkhunter you will find more items infected.

  • Gravatar - Jackson
    Jackson 09:33, October 23, 2005
    You should NEVER clean a rooted or comprimized system. <br />
    <br />
    You will never get all the files the hacker put in place on the server. You MUST and this is the ONLY way to make sure the hacker can not get back in to your system again is to either Format and reinstall or install a new drive and OS then salve the old drive over to the new and boot up... Mount the old drive and copy over your files... NO BINARIES THOUGH! Just user files.<br />
    <br />
    This has to be the stupidest tutorial ever. Any expert knows the only way to clean a rooted system is to start from scratch.<br />
    <br />
  • Gravatar - Kevin
    Kevin 23:47, January 18, 2006
    I agree with you Jackson. It's like dropping a cake on a wet, dirty floor. If you just give it a simple wipe on 1/4 of the cake. It's still dirty, but not as visably. Who knows? The hacker could have been smart and installed a few more root kits incase you follow this.

Add Your Thoughts is a hosting directory, not a web host.

Copyright © 1998-2014