How to Configure CWP on CentOS 7
CWP is free and open source web hosting control panel for CentOS Servers. CWP
(CentOS Web Panel) provides a powerful web interface through which we can manage our CentOS Servers and its services, apart from it CWP can also be used to create and manage shared hosting servers.
Whenever we install CWP it automatically install full LAMP stack (Linux, Apache, MySQL/MariaDB, PHP).
Apart from LAMP stack followings softwares are being installed during CWP Installation
- Email Server – Postfix, Dovecot, spamassassin, DKIM , Antivirus, Webmail (Round Cube)
- CSF Firewall and SSL generator
- User Management includes followings add and update local users, manage ssh session, FTP Users , User Limits and monitoring of user’s activities
- Live monitoring of system resources and services like Apache, Mail and FTP
- AutoFixer for your server configuration.
In this article we will discuss how to configure CWP on CentOS 7. Beneath are perquisites of CWP:
- Freshly Installed Minimal CentOS 7
- A Static or fixed IP
- Minimum of 4 GB RAM to install all modules or software otherwise 1 GB RAM for 64-bit system
- Minimum of 10 GB Hard disk Space
- Properly configured Hostname
Note: Once the CWP is installed on your CentOS Servers then we can’t uninstall or remove CWP, the only option is reinstalled your system.
Login the CWP admin portal from the your web browser
Use the User Name as root and password would be your server’s root password.
CWP Admin Dashboard would be something like below
This dashboard confirms that we have successfully installed CWP,
Now to make your server ready for domain hosting, you need to perform following tasks.
Configure Your Nameservers
Go to DNS Function –> Click on Edit Nameservers IPs
Save the Changes and restart bind service
Configure shared IP and Root email
This step is important for hosting web sites (Shared hosting). So to configure shared IP, Go to CWP settings –> Click on Edit Settings and then specify the shared IP ( it must a public IP).
click on save changes
Configure atleast One Web Hosting Package
To Configure web hosting package , Go to Packages –> Select ‘Add a Package’ option and specify the required values and then click on Create option, example is shown below
Click on Create
Add Domain in your CWP
To add domain in CWP, one account needs to be created first.
To create an account, goto ‘User Accounts’ –> Select ‘New Account’, Specify the domain on which user will be created, user name, email and package etc
Click on create.
Now let’s try to add a domain, Go to ‘Domains’ –> Click on ‘Add Domain’ , specify the domain name that you want to add, in my case i am adding a domain name “Domains.com”
Click on create to add domain.
Below windows confirms that domain has been added successfully.
Domain’s documents root, Server name, its alias and its other parameters has been updated
That’s all from this article. I hope this article helps you to understand CWP its basic configurations, please share your feedback and comments.