SWPanel

Hosting templates

Your hosting plans, in a template

Define once which servers each part goes on, what the plan includes, which upgrades your customer can enable, its PHP and its resources. Every hosting you create with it is born the same and already distributed across your servers.

  • Web, email, DB and DNS, separated automatically
  • Complete plan definitions
  • Check before changing
Illustration: the Professional Plan template with its five blocks creates hostings that are born distributed: the website on Cloud Web 3, email on Cloud Web 4, databases on Cloud Web 2 and DNS on Cloud Web 1 and SWPanel's DNS.

Illustration. Names, domains and figures are examples.

  • Automatic separation Each new plan sends its website, email, databases and DNS to the servers you set.
  • Repeatable plans Same limits, same upgrades and same PHP on every hosting, without configuring it by hand.
  • Changes without surprises If the template is already in use, SWPanel checks before saving that no plan stops working.
  • 5 Servers per plan web, email, DB and two DNS
  • 9 Definition groups from space to websites
  • 13 Improvements that your customer can enable
  • 1 click To check before changing a template in use

What a template contains

Five blocks, one complete plan

It is created in this order, each block in its own step. If you're missing a parameters or resources template, you create it without leaving.

  1. Servers

    Where each part of the plans you create with it goes. Only the website is mandatory.

    • Website
    • Email
    • Databases
    • Primary DNS
    • Secondary DNS
  2. Parameters

    What the plan includes: space, traffic, mailboxes, databases, DNS and more.

    • Space and traffic
    • Email
    • FTP
    • Databases
    • DNS
    • Crons
    • Inodes
    • Childs
    • Websites
  3. Improvements

    What the owner of each hosting will be able to enable to improve their service.

    • Countries and bots
    • SSL and HSTS
    • SSH
    • Cache
    • Cloudflare
    • Snapshots
  4. PHP

    The version that starts by default and whether the user can change it.

    • Default version
    • Change by the user
  5. Resources

    How much CPU, memory, disk and network each plan is guaranteed.

    • CPU
    • RAM
    • Disk IOPS
    • Network

Automatic separation

Each part, to its server, on its own

The template sets where the website, email, databases and the two DNS go. This way each new hosting is born distributed, without deciding it every time.

Servers

One server for each thing

All plans in the template are Web Hosting. You choose which server the website goes on and which ones host email, databases and DNS. To change the distribution of an existing hosting, you have separate services and drag and migrate.

  • You spread the load: email and databases don't compete with the website
  • Each server tuned for its job
  • Plans without email or without databases, if you don't need them
  1. The website, on the server you choose. It's the only mandatory one.
  2. Email and databases, on other servers, or without them.
  3. The two DNS, on your servers or SWPanel's.
  4. What will be created, summarized on the right.
  5. The call's JSON, to do the same through the API.
Create template › Servers Real screenshot
Template servers: website on Cloud Web 3, email on Cloud Web 4, databases on Cloud Web 2 and DNS

Features and definitions

Everything that defines a plan

The parameters template sets how much each hosting can have. Almost all counts accept “unlimited”.

Space and traffic

Disk space
The plan's MB, or no limit.
Traffic
A maximum, or unlimited.
Hard quotas
The customer cannot exceed the assigned space.
Web statistics
Allows enabling AWStats if the server has it.

Email

Accounts
How many mailboxes it can create.
Size of each mailbox
The maximum and the default, with a hard quota if you want.
Antivirus and AntiSpam
Whether the customer can enable and disable them.
Aliases, lists and “catch all”
Aliases per account, distribution lists, accounts per list and a mailbox for what has no owner.

Databases and FTP

Databases
How many and of what maximum size.
Users and connections
Database users and simultaneous connections per user.
FTP accounts
How many the plan can create.

DNS

DNS management
Whether the plan manages its own zones.
Records per zone
The maximum number of records in each zone.
Delegation
Delegates the zones to the DNS assigned when creating the service.

Crons, inodes and childs

Crons
How many scheduled tasks it can have.
Inodes
How many files and folders it can store.
Childs
How many Apache processes it can open at once.

Websites

Several sites
Whether the plan can host more than one website.
Hosting aliases and vHosts
How many extra domains and sites the plan supports.

Available upgrades

What your customer will be able to enable

One switch per upgrade. What you enable in the template appears available on every hosting that comes from it.

Service security

  • Traffic blocking by country
  • Blocking of bots and crawlers

SSL and certificates

  • HTTPS and SSL certificate
  • Forced HTTPS redirect
  • Forced HTTPS (HSTS)
  • Email TLS certificate

Server access

  • SSH / CHRoot access<small>Console confined to its own directory.</small>

Acceleration and CDN

  • Smart Hosting+ with Memcached<small>If the server has it.</small>
  • Cloudflare<small>With the domain in your SWPanel portfolio.</small>

Data retention

  • Website export
  • Scheduled export
  • Snapshots
  • Scheduled snapshots

In SWPanel

Create a template, screen by screen

Real SWPanel 2027 screenshots with a test account.

Tools › Templates › Hosting Real screenshot
List of hosting templates with the plans each one uses
  1. Five template types: hosting, parameters, resource limitation, DNS and Cloud.
  2. How many plans come from each template.
  3. Create template, step by step.
Create template › Plan parameters Real screenshot
Choose the parameters template that defines the hosting plan
  1. What the plan includes: you choose a parameters template.
  2. Info: all the detail, without leaving the screen.
  3. None suits you? You create it right here and it gets selected.
Create Hosting parameters template Real screenshot
Parameters editor: disk space, traffic and the eight service sections
  1. Eight service sections: email, FTP, databases, DNS, crons, inodes, childs and websites.
  2. Space, with or without a limit, and with a hard quota.
  3. The same plan, in JSON, for the API.
Create template › Available upgrades Real screenshot
Upgrade switches: countries, bots, SSL, HSTS and email TLS
  1. Security: blocking by country and of bots.
  2. HTTPS, redirect, HSTS and email TLS.
  3. One switch per upgrade: what your customer will be able to enable.
  4. And further down: SSH, cache, Cloudflare, exports and snapshots.
Create template › Resource limitation Real screenshot
Choose the plan's resource limitation template
  1. The resource template that limits each plan.
  2. Or none, if the plan can use the whole server.
  3. Create it without leaving the hosting template.

Templates in use

Change a template without breaking plans

If plans have already come from the template, SWPanel tells you and won't let you save until it checks that the changes are compatible with all of them.

Edit template › Information Real screenshot
Notice of a hosting template in use by two active plans
  1. Two active plans come from this template.
  2. Before saving, the compatibility check.
Edit template › Compatibility check Real screenshot
Compatibility check: the changes are compatible
  1. One click and SWPanel checks it against the active plans.
  2. The changes are compatible: you can save now.

For teams and resellers

Your templates, where they're needed

For your child users

Make a template visible to the accounts that hang from yours, and everyone creates plans with your same rules.

Predefined or your own

When choosing resources you see SWPanel's predefined templates and your own, in two groups.

Also via API

Each screen shows the JSON of its API call, ready to copy into your automations.

Frequently asked questions

Questions about hosting templates

The recipe for a plan: which servers the website, email, databases and DNS run on, what it includes, which upgrades your client will be able to activate, which PHP version it starts with and what resources it can use. Every hosting you create with it starts out the same.

Yes. You choose one server for the website, another for email, another for databases and others for the two DNS, and every new plan starts out already distributed. Only the website is required: email and databases can be left unassigned, and the DNS can be SWPanel's.

SWPanel tells you how many active plans come from it and, before saving, checks that the changes remain compatible with all of them, so that none stops working.

You can make a template visible to your child users. And when choosing resources, you see SWPanel's predefined templates alongside your own.

Yes. Every template screen shows the JSON of its API call, ready to copy.

They're something else: they store the image of an entire Cloud so you can deploy identical ones. The templates on this page define hosting plans.

Your plans, in series and well distributed

Create your free account, connect your servers and define your hosting plans with their distribution, limits and upgrades.