fbpx

CyberPanel v2.1.1 introduced a feature to enforce website disk limits via packages.

Enforce Website disk limits via Package creation:

While creating any new package you can see a check on the package creation page called Enforce Disk Limits. If you check this option, all websites under this package will not be able to use disk more then what it is specified in Disk Space box.

For example, we want to set a 10GB space limit on the new website first of all you need to create a package from the Package->Create Package set the space to 10GB, and check the Enforce Disk Limits to make sure they can't exceed or use more then 10GB of space.

Enforce Website disk limits on Existing websites with existing Packages:

For older CyberPanel with existing websites can also set disk limits by turning on this option for existing packages.

Go to  List Websites page to find out which package is being used by the site.

Now go to the modify package page and select that package and then check the Enforce Disk Limits option.

To use this feature your CyberPanel version must be v2.1.1 or above.

Starting version 1.6.0, CyberPanel now has cron jobs.


Create Cron Job

To create Cron Job navigate to Main > Websites > List Websites > Launch.

 

After you have launched panel for a website, you can click Cron Jobs under Domains.

This will open Cron Management, from Drop Down select domain and click the Plus sign.

To create Domain Aliases you need to launch a website for which you need to create aliases:

Main > Websites > List Websites » Launch

Scroll Down to find Domain Alias

This will open the page, where you can create Domain Aliases.

After version 1.5 child domains feature is available in CyberPanel. After version 1.6.4 stable we've launched dedicated launcher for child domains.


Why there is a need for Child Domain Launcher

Since most of you already know that rewrite rules with OpenLiteSpeed do not work as they work with LiteSpeed Enterprise/Apache.

Every domain must have their own .htaccess file and OpenLiteSpeed is explicitly told to load rules from the file, otherwise, the file is totally ignored. So if you have a master domain at:/home/masterdomain.com/public_html its .htaccess file is located at /home/masterdomain.com/public_html/.htaccess any .htaccess files in subdirectories do not work and they are ignored.

And so if you have a child-domain under the master domain with the path /home/masterdomain.com/public_html/childdomain.com its rewrite rules will be ignored since OpenLiteSpeed has not been told to load rewrite rules from /home/masterdomain.com/public_html/childdomain.com/.htaccess.

To solve this problem we have a dedicated child domain launcher, where you can:

  • View Access/Error logs.
  • Edit virtual host configurations for child domain.
  • Change PHP.
  • Add/Delete Rewrite rules.
  • Add SSL.
  • Enable/Disable open_basedir protection.

How to access launcher for Child Domain

Go to your Master Domain launcher which is located at:

https:<IP Address>:8090/websites/masterdomain.com

There you can manage your child domain configurations.

Child domains are available from version 1.5. This feature can be used to create further domain under a website.


How to create a child domain

Go to → https://192.168.100.10:8090/websites/example.com

Repalce 192.168.100.10 with your VPS/Dedicated server IP Address. Scroll down and click ADD DOMAINS.

 

 

Fill in all the details and click Create Domain. Here example.com is the master domain. If you leave the path empty, than document root for child domain will be /home/example.com/public_html/childdomain.com.

And if you enter a custom path, it will be /home/example.com/public_html/custompath


Change PHP, issue SSL or delete child domains

Go to → https://192.168.100.10:8090/websites/example.com

Repalce 192.168.100.10 with your VPS/Dedicated server IP Address. Scroll down and click LIST DOMAINS.

 

chevron-down