In earlier post, we discussed installation of cPanel on Centos 6 server but the cPanel installation doesn’t just finish there. After installation, you need to configure various basic settings in graphical manager to complete the setup. In this article, we we will cover how to setup networking, hostname, resolver, additional IP addresses, default dns server, ftp server, cphulk brute force detection and quotas for cPanel server.
As discussed in early post, you can access web host manager by entering following url in your browser.
https://your-host-name:2087 OR https://your-server-ip:2087
- Following initial setup window appears on screen once you login to the web host manager. As it itself says this wizard will guide you through setting up your server which means it will show you various configuration options and you will need to setup your own data such as hostname, IP addresses etc. You need to click on I agree/go to setup to agree the end user license and proceed to next window. I would suggest to go through agreement to learn about terms of using cPanel. A red arrow in following image shows where you need to click to accept the agreement.
Agree to the cPanel license end user agreement
- In next step, you need to enter an email address where cpanel will send out notification if a problem arises with this server. A cPanel sends various notification on daily basis such as cpanel update logs, if any service fails on the server, mail failure logs, software update logs and so on. It’s recommended to set email address that isn’t hosted on the same server and can be reached at all time. You can setup other contacts such as sms, icq, aim contact numbers too. A cPanel will forward notification in these contacts too in event of any problem arises with the server.
Setup Server Contact Email Address
- In the same step scroll down below, here you can setup hostname for your server. As it says, you must setup fully qualified domain name as your hostname e.g. server.yourdomain.com. In our case, we have setup server.yogsays.com which is fully qualified domain name. Next setup your resolvers for the server, by default cPanel setup google’s resolver 220.127.116.11 & 18.104.22.168 but you can setup different resolver too.
- By default cPanel adds first IP to the server but if you would like to bind multiple IP ranges to your server here you can add them.
- At step 4, a default dns server program can be selected for the server. By default bind is selected which is idle if you are going to host large number of domains on the server. You can read each program feature and choose one which is suitable for your server.
- On the same page, you can setup default nameservers for your server. Please be aware that these nameservers will be used as default nameservers by every domain you will setup on this server unless you setup private nameserver for your domains manually. Hence it’s advised to choose proper names and IP’s for these nameservers. You can setup two nameservers or more than two however it’s recommended to setup atleast two nameservers for better redundancy.
- Here, you can setup IP address records for nameserver & hostnames. The IP addresses you configured here will need to be entered in domain registrar control panel to complete the registration of your private nameservers. Make sure you setup ‘A’ entry for hostname otherwise if cPanel won’t detect valid ‘A’ entry for the hostname, it will send various notifications so it’s better we setup ‘A’ record in setup wizard itself.
- As the description says ftp configuration feature allows you to choose FTP server for your server. Like nameserver program, you can go through feature list and choose one of the ftp server for your server. You can even use disabled option but be aware that none of your user will be able to use ftp to upload their data.
- This is highly recommended feature to use in cPanel server. Number of brute force attacks are growing up these days as everybody wants to be hacker and gain access to the server. This feature protect your server against brute force attacks. You can go through various configuration option it offers and make adjustment according to your need. Make sure you enable it though.
- And last step enables us to configure quotas for the server. If you turn off quotas on the server, you will not be able to view disk space usage for the individual users on the server hence its recommended to enable file system quotas. Just select use file system quotas and click on finish setup wizard.
- Next feature showcase will appear on your screen which enables you to enable feature such as mod_security, spf & dkim. Just save the settings and go to whm home page.
- This is how it looks like after you are done with the setup wizard. I have since not purchased the cPanel license, it shows me trial license there.