WHM / cPanel

How to setup WHM using custom nameservers

This article will walk you through the steps of setting up WHM for the very first time using custom nameservers (ns1.yourdomain.com and ns2.yourdomain.com) for your DNS Management.
 

Read This First

Before setting up WHM to use custom nameserver (nameservers assigned to your domain), you will first need to create them with your registrar. If you are unfamiliar with this process, or unfamiliar with hosting your own DNS server, it is strongly suggested to use Codero’s nameservers (ns1.codero.com and ns2.codero.com) and follow the steps outlined in these articles instead:

How to setup WHM with Codero nameservers
How to edit DNS in ServerPortal.com

 

Log In

Log into WHM. You will need to use https://IP.ADD.RE.SS:2087 to access the login screen.

Username: root
Password: The root password provided with your server. This is also the ssh root password.

whm-1

 

Step 1: End User Agreement

Read the End User License Agreement then click I Agree/Go to Step 2

whm-2

 

Step 2: Setup Networking

Contact Information

Enter your administrator’s email address. This is the address email sent from your server will be delivered to. It is important that is a working and monitored email address.

whm-2a

 

Hostname

Select a Fully Qualified Domain Name (FQDN) for your server. This is usually a subdomain of your primary business domain name that defines the server. Some good examples would be server.mydomain.com, mail.mydomain.com, or webserver.mydomain.com.

It is not recommended to use an actual working domain name for your hostname, such as www.mydomain.com or simply domain.com
Make a note of the hostname you select and use this for the reverse DNS on your server’s primary IP address.
http://www.howtowebhost.com/how-to-set-reverse-dns-rdns/

whm-2b

 

Resolvers

Resolver IPs are used to convert domain names to IP addresses. Using the wrong Resolver IPs can drastically reduce the performance of your server.

Primary Resolver: 69.64.66.11
Secondary Resolver: 69.64.66.10

whm-2c

 

Main Network/Ethernet Device

To best determine the device to use, log into your server with ssh, then run the ifconfig command. Locate the line with your primary IP address. The line directly above it will show the correct device.

whm-2da

Example:

# ifconfig
eth1      Link encap:Ethernet  HWaddr 00:12:34:56:78:9A  
          inet addr:64.150.180.1  Bcast:64.255.255.255  Mask:255.0.0.0

In this example the correct device is eth1. To change the default, you will need to select Other from the dropdown, then manually type in the correct device name.

whm-2db

After you have completed all of these steps, click the Save & Go to Step 3 button.

 

Step 3: Setup IP Addresses

Adding additional IPs is beyond the scope of this article. Click Skip This Step and Use Default Settings.

 

Step 4: Nameservers

Since we will be using custom nameservers, you’ll need to setup the DNS service. If you have not already setup custom nameservers using your server’s IP address, you should do so before proceeding. Otherwise we recommend using Codero’s nameservers and following the steps outline here instead: How to setup WHM with Codero nameservers

You can find additional information about creating custom nameservers here: cPanel – How to Register Private Nameservers

 

Nameserver Configuration

Select BIND
Bind should be automatically selected by default.

whmns01

 

Add A Entries for Nameservers & Hostname

Check [X] Add “A Entries” for all Nameservers. These provide the “glue” that bind your nameservers to your IP and allow them to work. Without these, your DNS will not function correctly.

You will need to enter the actual IP addresses you used when setting up the nameservers with your registrar.

Note that is it perfectly acceptable to use the same IP for both nameservers.

Check [X] Add “A Entries” for Hostname. (Optional)

whmns3

 
After you have completed all of these steps, click the Save & Go to Step 5 button.

 

Step 5: Services

FTP

Select Pure-FTPD

(*) Pure-FTPD

Mail Configuration
Select Dovecot and check “Convert Mailbox Format

(*) Dovecot
[X] Convert mailbox settings file format to new mai server's format during migration

 

Configure cPHulk

cPHulk is great for protecting your server against brute force attacks, however it can also block legitimate users from accessing their accounts, including the root user.

Use the values shown in the image below to prevent “accidental” lock outs from blocking these users for extended periods of time.

whm-2fc

 

Install common set of Perl Modules

It is generally not necessary to install the Perl Modules. Leave this unchecked.

[ ] Provide modules to /usr/bin/perl formerly provided by checkpermodules

 
After you have completed all of these steps, click the Save and Go to Step 6 button.

 

Step 6: Quotas

Select (*) Use files system quotas then click Finish Setup Wizard

 

Feature Showcase

Use all the defaults on this page. Scroll to the bottom of the page and click By admin on November 20, 2014 | Control Panels, WHM / cPanel | A comment?

How to setup WHM with Codero Nameservers

This article will walk you through the steps of setting up WHM for the very first time using Codero’s nameservers (ns1.codero.com and ns2.codero.com) for your DNS Management.

 

Log In

Log into WHM.  You will need to use https://IP.ADD.RE.SS:2087 to access the login screen.

Username: root
Password: The root password provided with your server.  This is also the ssh root password.

whm-1

 

Step 1: End User Agreement

Read the End User License Agreement then click I Agree/Go to Step 2

whm-2

 

Step 2: Setup Networking

Contact Information

Enter your administrator’s email address. This is the address email sent from your server will be delivered to. It is important that is a working and monitored email address.

whm-2a

 

Hostname

Select a Fully Qualified Domain Name (FQDN) for your server. This is usually a subdomain of your primary business domain name that defines the server. Some good examples would be server.mydomain.com, mail.mydomain.com, or webserver.mydomain.com.

It is not recommended to use an actual working domain name for your hostname, such as www.mydomain.com or simply domain.com
Make a note of the hostname you select and use this for the reverse DNS on your server’s primary IP address.
http://www.howtowebhost.com/how-to-set-reverse-dns-rdns/

whm-2b

 

Resolvers

Resolver IPs are used to convert domain names to IP addresses. Using the wrong Resolver IPs can drastically reduce the performance of your server.

Primary Resolver: 69.64.66.11
Secondary Resolver: 69.64.66.10

whm-2c

 

Main Network/Ethernet Device

To best determine the device to use, log into your server with ssh, then run the ifconfig command. Locate the line with your primary IP address. The line directly above it will show the correct device.

whm-2da

Example:

# ifconfig
eth1      Link encap:Ethernet  HWaddr 00:12:34:56:78:9A  
          inet addr:64.150.180.1  Bcast:64.255.255.255  Mask:255.0.0.0

In this example the correct device is eth1. To change the default, you will need to select Other from the dropdown, then manually type in the correct device name.

whm-2db

After you have completed all of these steps, click the Save & Go to Step 3 button.

 

Step 3: Setup IP Addresses

Adding additional IPs is beyond the scope of this article. Click Skip This Step and Use Default Settings.

 

Step 4: Nameservers

Since we will be using the Codero nameservers, ns1.codero.com and ns2.codero.com, int the Nameserver Configuration window, select (*) Disabled, then scroll to the bottom of the page and click .

whm-2e

 

Step 5: Services

FTP
Select Pure-FTPD

(*) Pure-FTPD

Mail Configuration
Select Dovecot and check “Convert Mailbox Format

(*) Dovecot
[X] Convert mailbox settings file format to new mai server's format during migration

 
Configure cPHulk

cPHulk is great for protecting your server against brute force attacks, however it can also block legitimate users from accessing their accounts, including the root user.

Use the values shown in the image below to prevent “accidental” lock outs from blocking these users for extended periods of time.

whm-2fc

 
Install common set of Perl Modules
It is generally not necessary to install the Perl Modules. Leave this unchecked.

[ ] Provide modules to /usr/bin/perl formerly provided by checkpermodules

 
After you have completed all of these steps, click the Save and Go to Step 6 button.

 

Step 6: Quotas

Select (*) Use files system quotas then click Finish Setup Wizard

whm-2fc

 

Feature Showcase

Use all the defaults on this page. Scroll to the bottom of the page and click By admin on June 6, 2014 | Control Panels, WHM / cPanel | A comment?