The aim of this manual is to explain in detail, clearly and step by step how to create and configure a Hosting Template within the SWPanel control panel. Hosting templates are essential tools for users who need to deploy multiple services with similar characteristics, allowing them to standardise processes, optimise times and avoid manual configuration errors.
A hosting template is a predefined set of technical parameters that can be automatically applied to new services created within your infrastructure. These parameters include resource limits, service activation (FTP, email, databases, etc.), DNS configuration, PHP version, and much more.
This manual will show you:
Before starting to create a template, you must have Reseller mode enabled in your SWPanel account.
Before creating a Hosting template, you will need to have Reseller mode enabled in your SWPanel. You can activate it by following the instructions in the following manual: 📃 Manual: How can I activate reseller mode in my SWPanel account?
A Hosting Template is an option added to our SWPanel that can be used to create different services with the same characteristics. Thanks to these, we can create many similar services in a more orderly and faster way.
The screenshot is for guidance purposes. It was taken on version 2025.03.0001 dated 22/03/2025. It may differ from what the current version of SWPanel shows.
The screenshot is for guidance purposes. It was taken on version 2025.03.0001 dated 22/03/2025. It may differ from what the current version of SWPanel shows.
The screenshot is for guidance purposes. It was taken on version 2025.03.0001 dated 22/03/2025. It may differ from what the current version of SWPanel shows.
The new window is divided into 5 tabs: Servers, Service definition, Available upgrades, PHP and Resource limitation.
In the ”Assigned main server” section we will select on which server we want the services created with the template to be created. This will be assigned as a web server:
The screenshot is for guidance purposes. It was taken on version 2025.03.0001 dated 22/03/2025. It may differ from what the current version of SWPanel shows.
Once selected, we must choose the Cloud that we want to be the mail and database server. We can also manually select the primary and secondary DNS server, or leave the automatic assignment checked, so that these are configured by default.
The screenshot is for guidance purposes. It was taken on version 2025.03.0001 dated 22/03/2025. It may differ from what the current version of SWPanel shows.
Defines the disc space, monthly traffic and the activation of web statistics (if AWStats is installed).
The screenshot is for guidance purposes. It was taken on version 2025.03.0001 dated 22/03/2025. It may differ from what the current version of SWPanel shows.
Configure accounts, space limits, security and additional functions such as aliases or lists.
The screenshot is for guidance purposes. It was taken on version 2025.03.0001 dated 22/03/2025. It may differ from what the current version of SWPanel shows.
Defines the number of FTP accounts allowed.
The screenshot is for guidance purposes. It was taken on version 2025.03.0001 dated 22/03/2025. It may differ from what the current version of SWPanel shows.
Set the maximum number of databases, users and simultaneous connections.
The screenshot is for guidance purposes. It was taken on version 2025.03.0001 dated 22/03/2025. It may differ from what the current version of SWPanel shows.
Configure DNS records and select a customised DNS template.
The screenshot is for guidance purposes. It was taken on version 2025.03.0001 dated 22/03/2025. It may differ from what the current version of SWPanel shows.
You can create a DNS template by following the instructions in the following manual: 📃 Manual: DNS Templates
Define the maximum number of crons allowed in the Hosting.
The screenshot is for guidance purposes. It was taken on version 2025.03.0001 dated 22/03/2025. It may differ from what the current version of SWPanel shows.
Limits the number of files and directories that the Hosting can have. Inodes represent data structures used to manage files and directories in UNIX-type file systems, an insufficient number of inodes can prevent the creation of new files, even if there is available disk space.
The screenshot is for guidance purposes. It was taken on version 2025.03.0001 dated 22/03/2025. It may differ from what the current version of SWPanel shows.
Controls the number of processes that Apache can open simultaneously.
The screenshot is for guidance purposes. It was taken on version 2025.03.0001 dated 22/03/2025. It may differ from what the current version of SWPanel shows.
It allows you to define which optional improvements can be activated from the service Dashboard:
Allow activation of Let's Encrypt SSL: Allows activation of the free Let's Encrypt SSL certificate in Hosting.
Data retention management
Enable web export activation: Enables the option to export the complete content of the website via email.
Enable scheduled web export activation: Enables the option to export the complete content of the website via email, at specific times or intervals.
Enable Web Snapshot: Enables the option to create a Snapshot (instant backup) of the website so that it can be restored to a previous state if necessary.
Enable Scheduled Web Snapshot: Enables the option to schedule the creation of a Snapshot (instant backup) of the website at specific times.
Management of security improvements and CDN
The screenshot is for guidance purposes. It was taken on version 2025.03.0001 dated 22/03/2025. It may differ from what the current version of SWPanel shows.
It allows you to establish the default PHP version and whether the user will be able to modify it.
The screenshot is for guidance purposes. It was taken on version 2025.03.0001 dated 22/03/2025. It may differ from what the current version of SWPanel shows.
Define limits on CPU, RAM or IOPS, using predefined templates or manual configuration:
You can create a resource usage control template by following the instructions in the following manual: 📃 Manual: How to create a resource usage control template
The screenshot is for guidance purposes. It was taken on version 2025.03.0001 dated 22/03/2025. It may differ from what the current version of SWPanel shows.
Click on the button Create template to save all the configured parameters.
The screenshot is for guidance purposes. It was taken on version 2025.03.0001 dated 22/03/2025. It may differ from what the current version of SWPanel shows.
There you go! Now you know how to configure a Hosting template.
You can apply these new templates to your hostings by following the instructions in the following manual: 📃 Manual: Create a Hosting service using a Template
Term / Concept | Definition |
---|---|
Hosting template | Predefined configuration to create Hosting services quickly and coherently. |
Reseller mode | Mode that enables advanced management functions for multiple Hosting services. |
AWStats | Application that generates detailed web traffic statistics. |
Inodes | Structures that represent files/directories in a file system. |
Crons | Scheduled tasks that are executed automatically at defined times. |
CHRoot | Technique for isolating users within the system. |
Apache Max Childs | Limit of simultaneous processes managed by Apache. |
Smart Hosting + | Memcached-based improvement that optimises website performance. |
Snapshot | Instant backup of website status. |
TLS Let's Encrypt | Free certificates that protect data with TLS encryption. |
PHP | Programming language used in web development. |
CDN | Network of servers that optimises content distribution. |