Update Operating System
- Run if Centos:
-
yum -y update
-
- Restart VPS
-
reboot
-
Install the CPanel
- 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 )
-
- Disable firewall (CentOS 7)
-
iptables-save > ~/firewall.rules
- systemctl stop firewalld.service
- systemctl disable firewalld.service
-
- Disable Network Manager (CentOS 7)
- systemctl stop NetworkManager.service
- systemctl disable NetworkManager.service
- systemctl enable network.service < dd>systemctl start network.service
- 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
-
- We restart
-
reboot
-
Update the CPanel
- Open a screen session to avoid losing work if the Internet connection goes down:
-
screen -R
-
- To update CPanel, execute the following command (this operation takes time to complete):
-
/usr/local/cpanel/scripts/upcp
-
- 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
- Login as the client in the client control panel
- Select the domain product
- Select the Create Nameserver menu
- 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.