Web Hosts World

What is Centos Web Panel?

CentOS Web Panel is a free web hosting control panel designed for quick and easy server management minus the routines and effort of using the SSH console every time you want to do something. CentOS Web Panel offers a plethora of server management options and features in its control panel package and automatically installs a full LAMP package (Linux, Apache, MySQL, PHP) on the server you want like Apache, PHP or phpMyAdmin.

CentOS Web Panel Setup

In this tutorial, you will install a CentOS 7 server. You will also assign a fully qualified domain name (FQDN) to your server and set up a static IP address for your server and a domain pointed to your server using custom name servers. You will configure incoming/outgoing firewall rules.

Step 1: Update the server and install Wget Package

We need to make sure your server is up to date, we also need to install Wget which we will use to download CentOS Web Panel installer to your server. Use the following command:

Step 2: Set up the FQDN server

The CentOS Web panel requires that the FQDN be set as the hostname; you can use the hostnamectl command to do this:

hostnamectl set-hostname server.domain.com

Step 3: Configure the firewall rules

Firewall rules define the type of Internet traffic that is allowed or prohibited. You can think of it as an extra layer of protection provided by your hosting provider to control your traffic.

The internal firewall rules define what kind of traffic will be allowed to which ports and from which sources. If no incoming rules are configured, no incoming traffic is allowed.

Outbound firewall rules define the type of traffic that will be allowed to leave the server on any ports and can be restricted to certain destinations. If no outgoing rules are configured, outgoing traffic will not be allowed.

For Alibaba Cloud customers, you can do this by creating a security group and adding security group rules to allow connections on these ports.

Step 4: Install the CentOS Web Panel

Now you are ready to start installing CentOS Web Panel, installation is very easy, it will automatically install all required packages and you don’t need to do anything, but it may work more than 15 minutes because it needs to compile Apache and PHP from source.

You can install the CentOS Web Panel by running the following command:

Once the installation is done, you will be provided with the panel access URL and the MySQL root password, keep these details in a safe place.

Now, you have to restart your server for all updates to take effect and start CentOS Web Panel:



In the event that you’re logged in via SSH using public key authentication and the root user doesn’t have a password, you’ll need to set one. After restarting, login to your server using SSH and enter the command:

  • passwd
  • and set your password

Step 5: Configure Your CentOS Web Panel

Log into the CentOS web panel administrator GUI using the link provided by the installer on the server, root username, and password.

Step 6: Update the admin email and NAT

  • From the left menu, click CWP Settings, and then select Edit Settings.
  • Change the admin email and, if your server is using a NAT Gateway, check the Activate NAT-ed network configuration check box, then click Save changes.

Step 7: Update the Nameserver on CentOS Web Panel

To update your name, you need to register a custom name server. The custom name server allows you to run your own name server to respond to DNS requests for your domains. Like ns1. (Your domain name). Before you can add these name servers to your domain names, you must register them.

If you registered your domain name on Alibaba Cloud Domains, in order to create custom name servers, you can go directly to the domain name controller, find the domain name for which you want to create custom name servers → Manage → DNS host → Create DNS server.


Leave a Comment

Your email address will not be published. Required fields are marked *