CAll Us: +92-3338901062 Submit Ticket   Login

Configure SSL and Green Padlock on Centos Webpanel Hostname

If you want to get the fully secured hostname with green padlock on Centos Webpanel, just follow the simple two steps.

1. Change the hostname through Change Hostname option in admin panel so that you get autoSSL installed

2. Reload cwpsrv service from console/ssh
service cwpsrv reload

3. and that’s it. Enjoy green padlock on hostname login panes in Centos Web Panel.

How to create wildcard Subdomains in Centos Webpanel (CWP)?

How to create wildcard Subdomains in Centos Webpanel (CWP)?

Currently, we can’t create wildcard subdomains in Free control Panel Centos Webpanel. Through this tutorial, you will be able to create wildcard subdomain in CWP.

Copy and Paste this code at the end of /usr/local/apache/conf.d/vhosts.conf file through SSH or file manager

# vhost_start *
ServerAlias *
DocumentRoot “/home/yourdoma/public_html”
ErrorLog “/home/yourdoma/public_html/error.log”
ScriptAlias /cgi-bin/ /home/yourdoma/public_html/cgi-bin/
# Custom settings are loaded below this line (if any exist)
# Include “/usr/local/apache/conf/userdata/yourdoma/**.conf
SuexecUserGroup yourdoma yourdoma
suPHP_UserGroup yourdoma yourdoma
<Directory “/home/yourdoma/public_html”>
AllowOverride All
# vhost_end *

Don’t forget to replace with your own domain name and yourdoma with the user name of the account.

Save the file and start using wildcard subdomains on your account.