Installation and Configuration of WHM/Cpanel

Update Operating System

  1. Run if Centos:
    yum -y update
  2. Restart VPS
    reboot

Install the CPanel

  1. Open a screen session to avoid losing work if the Internet connection goes down:
    screen -R
    (Note: To install screen in Centos you can use yum -y install screen )
  2. Disable firewall (CentOS 7)
    iptables-save > ~/firewall.rules
    
    systemctl stop firewalld.service
    systemctl disable firewalld.service
  3. Disable Network Manager (CentOS 7)
    systemctl stop NetworkManager.service
    systemctl disable NetworkManager.service
    systemctl enable network.service
    < dd>systemctl start network.service
  4. To install CPanel, execute the following command (this operation takes time to complete):
    cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest
  5. We restart
    reboot

Update the CPanel

  1. Open a screen session to avoid losing work if the Internet connection goes down:
    screen -R
  2. To update CPanel, execute the following command (this operation takes time to complete):
    /usr/local/cpanel/scripts/upcp
  3. Check that there are no error messages. If everything went well, at the end it shows in text the instructions on how to enter the control panel

WHM configuration

After CPanel is installed, you enter the panel with the IP https:// xxx.xxx.xxx.xxx:2087

step 1

  • I Agree


Step 2

  • Server Contact Email Address * (client email)
  • This Server's Hostname * (vps.domain.com)
  • Primary Resolver * 8.8.8.8
  • Secondary Resolver * 8.8.4.4


step 3

  • only if the client has additional IP, next


step 4

  • Nameserver 1: ns1.domain
  • Nameserver 2: ns2.domain
  • Add A Entries for Nameservers & Hostname
  • check:Add "A Entries" for all Nameservers
  • ns1.domain: VPS IP
  • ns2.domain: VPS IP
  • Flag: Add "A Entries" for Hostname


Step 5

  • FTP leave Pure-FTPD as default
  • Mail Configuration: Dovecot (VPS mini) Courier (VPS Pro and XL)


Step 6

  • If other users are going to manage "leave it as default"

 

To create a Cpanel User:

If you are new to cpanel place

Local Mail Exchanger

if it already exists

Automatically Detect Configuration

Registration of nameservers with the registrar

 

In the Conexcol client panel

  1. Login as the client in the client control panel
  2. Select the domain product
  3. Select the Create Nameserver menu
  4. In Server Name Registration, proceed to register "ns1.domain.com" pointing to the server IP and "ns2.domain.com" to the server IP

 

Configure the PTR - Inverse Resolution

For the IP to resolve the domain, it is necessary to contact Conexcol and ask them to configure the reverse resolution in their records. You must send an email to Conexcol requesting the reverse registration of the IP of the new VPS

Send to: support@conexcol.net.co

Best regard,

Please register the following PTR:

VPS ip -> hostname

Thank you.


Was this article helpful?

mood_bad Dislike 11
mood Like 3
visibility Views: 28505