CentOS Web Panel – All-in-One Free Web Hosting Control Panel for CentOS/RHEL 6

CentOS Web Panel (CWP) is a free web hosting control panel that allows you to easily manage multiple servers (both Dedicated and VPS) without the need to access server through SSH for every small task that you need to complete. It is a feature rich control panel that I am sure you will love. I will try to list some of the most beneficial features:

  1. Apache Web Server ( Mod Security and OWASP rules optional).
  2. PHP 5.4 and a PHP switcher
  3. MySQL with phpMyAdmin
  4. Email – Postfix and Dovecot, mailboxes, RoundCube web interface
  5. CSF (Config Server Firewall)
  6. Backups ( this feature is optional)
  7. Easy user management interface
  8. FreeDNS Server
  9. Live Monitoring
  10. Backups
  11. File System Lock (means, no more website hacking due to locking of files from changes).
  12. Server configuration AutoFixer
  13. cPanel Account Migration
  14. TeamSpeak 3 Manager (Voice) and Shoutcast Manager (video streaming).

The latest version of CWP is 0.9.8.6 and was released on 19th April 2015, which includes few bug fixes regarding loading time improvements.

CentOS Web Panel Demo
  1. Non SSL Loginhttp://185.4.149.65:2030/
  2. SSL Loginhttps://185.4.149.65:2031/
------------------ Admin / Root Login ------------------

Username: root
Password: admin123 


------------------ User Login ------------------

Username: test-dom
Password: admin123 

Before I start the installation, I must tell you few important things about CPW and its system requirements:

  1. The installation must be completed on a clean CentOS server without MySQL. It is recommended to use CentOS/RedHat/CloudLinux 6.x. Even though it might work on CentOS 5, it has not been fully tested. CWP is not currently supported for CentOS 7.
  2. Minimum RAM requirement for 32-bit 512MB and 64-bit 1024MB with 10GB of free space.
  3. Static IP addresses are currently supported, no support for dynamic, sticky, or internal IP addresses.
  4. There isn’t any uninstaller for removing CWP after installation, you must reload the OS to remove it.

For the purpose of this article, I will be installing CWP (CentOS Web Panel) on a local CentOS 6 server with a static IP address 192.168.0.10.

CentOS Web Panel Installation

1. To start the installation, access your server as root and make sure to set the correct hostname and static IP address before heading up for the CentOS Web Panel installation.

Important: The hostname and domain name must be different on your server (for example, if domain.com is your domain on your server, then use hostname.domain.com as your fully qualified hostname).

2. After setting hostname and static IP address, you need install wget utility to fetch the CWP installation script.

# yum -y install wget

3. Next, do a full server update to most recent version and then reboot the server to take all new updates into affect.

# yum -y update
# reboot

4. After server reboot, you need to download CentOS Web Panel installation script using wget utility and install the CWP as shown below.

# cd /usr/local/src
# wget http://centos-webpanel.com/cwp-latest
# sh cwp-latest
Download CentOS Web Panel

Download CentOS Web Panel

CentOS Web Panel Installation

CentOS Web Panel Installation

Continue:  CWP Installation

Continue: CWP Installation

Please be patient as the installation process can take between 10 and 20 minutes to complete. Once the install has finished you should see a screen saying “CWP” installed and list of credentials required to access the panel. Make sure to copy or write down the information and keep it safe:

CentOS Web Panel Information

CentOS Web Panel Information

5. Once ready, press “ENTER” for server reboot. If the system does not reboot automatically simply type “reboot” to reboot the server.

6. After server reboot, login into server as root, this time the welcome screen will be slightly different. You will see the CWP welcome screen which will provide brief information about the logged users and the current disk space usage:

CWP Server Information

CWP Server Information

7. Now you are ready to access CentOS Web Panel via your favorite web browser. To do this, simply type:

http://your-ip-addresss.com:2030
OR
https://your-ip-addresss.com:2031 (over SSL)

Since I have performed the installation on my local machine, I can access it by using:

http://192.168.0.10:2030

For authentication, you would need to use your root username and password for your server.

CentOS Web Panel Login

CentOS Web Panel Login

After successful authentication you will see CWP dashboard:

CentOS Web Panel Dashboard

CentOS Web Panel Dashboard

This is the main page of your CWP and also the place from which you manage all settings. I will try to provide brief information about each of the blocks currently present:

  1. Navigation (on the left) – the navigation menu for browsing through different settings of each service.
  2. Top 5 processes – this block provides a live monitoring with the 5 processes consuming most resources.
  3. Disk Details – this block provides brief description about your disk partitioning and disk space usage.
  4. Service status – displays the current status of the current services as well as options to “start”, “stop” and “restart” them.
  5. System Stats – displays the current Memory and Swap memory usage, number of processes running and mails in the queue.
  6. Application Version – Displays the currently installed versions of Apache, PHP, MySQL, FTP,.
  7. System Info – displays the information about the server’s CPU Model, number of cores, OS name, Kernel version, platform, uptime and server time.
  8. CWP Info – displays the current setup for your server’s name servers, Server IP, Shared IP, server hostname and version of CWP.

The resource consumption from CWP is really low. After few hours of testing the memory usage remained at 512 MB:

CentOS Web Panel Memory Usage

CentOS Web Panel Memory Usage

This can be of a great benefit if you are running a small server with limited resources. The fact that CWP provides all the tools you will need to manage and customize your server without even requiring a paid license makes It perfect not only for building test projects, but a great tool for managing live environment as well.

If you are running an unmanaged server that comes with plain CentOS installation, I would highly recommend you considering CWP as your server’s control panel.

I hope you have found the above article useful and as always if you have any questions or comments, please do not hesitate to submit them in the comment section below.

Reference Links: http://centos-webpanel.com/

If You Appreciate What We Do Here On TecMint, You Should Consider:

TecMint is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web. Millions of people visit TecMint! to search or browse the thousands of published articles available FREELY to all.

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

Support Us

We are thankful for your never ending support.

Marin Todorov

I am a bachelor in computer science and a Linux Foundation Certified System Administrator. Currently working as a Senior Technical support in the hosting industry. In my free time I like testing new software and inline skating.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

23 Responses

  1. Grant says:

    I’m experiencing a really annoying issue with Apache, I have currently one domain with WordPress installed. Yet the directory is pointing to the correct location however browsing to the site goes to a completely different location. I know it’s an Apache issue as I had the exact same issue in webmin. Searched high and low for a fix still no luck can you help??

    • Ravi Saive says:

      @Grant,

      Please check your Apache DocumentRoot directory, and if possible check your virtualhost configuration and make sure you’ve added correct path to the wordpress application.

  2. Check Domain says:

    What about the CentOS Free Webpanel. It also has all the features as cPanel. I am using it for my site checkmydomain.net since 7-8 months and i face no problems. Its has module for NGINX and Varnish also.

  3. jeetesh says:

    ok! it’s nice but how can i add and use new project add locally like new word press web local environment testing or like code igniter projects and can i use my local LAN network different user with there user id FTP and what is site url or ip address like work mean
    http://192.168.1.155/myproject.com/index.php
    or something
    http://192.168.1.155/myweb/public html
    can i use it this type?

  4. margeslt says:

    I have a problem with this panel. I need to run a php script, execution time him are quite large.
    In browser sho error(500):
    Internal Server Error
    In apache log(/usr/local/apache/logs/error):
    Script timed out before returning headers: index.php

    The values for:
    max_input_time, max_execution_time
    set great value – 999

    I tried to correct the error, the value(Timeout) of the rules:
    in file /usr/local/apache/conf/extra/httpd-default.conf

    But it did not help.
    Some time later, still an error: 500
    How to increase the timeout.
    Help me please.

    • Ravi Saive says:

      @Margslt,
      Which distribution version you are using? can you tell us so that we can provide you solution for this..

    • Marin Todorov says:

      What is the script you are trying to run.? Are you sure that it’s written properly? Also can you share a oh pinto page?

  5. pankaj says:

    Hi,
    I have installed centos web panel on 16 GB RAM server, but i am seeing everyday the RAM utilization getting crossed 12Gb,Can you tell me how we can stop unwanted RAM utilization and how can restrict users for utilization for more RAM.

    Thanks

    • Marin Todorov says:

      How do you check the memory usage? If using “free” command, what is the amount of cached memory? What processes are consuming most of the memory?

  6. Lan Tra says:

    Hi Marin

    Thank for this great article, I am looking for opensource panels to installed in my VPS, will try this CentOS Web Panel

  7. Wellington Torrejais da Silva says:

    Thanks!

  8. CBT Inc. says:

    unfortunately, the user backup script generate public_html and mysql database only. It doesn’t include mail archives, dns zone, ssl certificate, etc. All we need is to custom the user backup script again.

  9. It`s grate alternative to cPanel.You will get all what you need and almost you do not need to login in SSH afer installation.Using CWP you will forget for putty :)

    Only problem for transfer website from cpanel to cwp is in emails.You cannot to keep old email archive.

    • Marin Todorov says:

      Unfortunately yes, the emails might be an issue. I met many customers who use cPanel and in such cases I recommend to download the emails with POP3 on a local computer. Then the email accounts can be recreated on the new machine. That way at least you will have an offline backup of your emails.

      • Diego says:

        Maybe the best approach is imapsync or pop2imap.
        Or copy over ssh

        • Marin TodorovI says:

          Manual copy might work, but you will need to make sure each message is placed in the correct directory in the new server and has the correct ownership and permissions.

          I just reviewed imapsync’s documentation and it does look like it might work. Personally I have not tested and can’t tell for sure. I am not sure it is worth the money though. As for pop2imap it is basically similar to what I suggested earlier. Download the emails with mail client such as Mozilla Thunderbird and then change its settings to match the new IMAP/POP3 server.

  10. selvakumar says:

    Can we add multiple machines to single machine and monitor ? As like nagios does. I would like to see multiple machine in dashboard. Is it possible in this tool ?

    Regards
    Selva

    • Marin Todorov says:

      Hello Selva,

      Right now only one server per installation can be monitored. Basically CWP shows the services running on the server where it is installed. Even though it provides a service status report, it is not meant to monitor multiple servers within one control panel. On the other hand Nagios’s sole purpose is to monitor service status of multiple servers within one interface.

Got something to say? Join the discussion.

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.