Guides and tutorials

Hundreds of tutorials and step by step guides carefully written by our support team.

Create a Hosting service in your Cloud with a template

What is a Hosting Template?

A service template is an option added in our SWPanel that allows you to create different services that have the same characteristics. Thanks to these, we can create many similar services in a more orderly and faster way.

Create the Hosting Template

In SWPanel, click the Tools option, then Templates (left menu) > Cloud Templates.

enter image description here

In the new screen you will see a list of already created templates. To create a new one, click on Create Template:

enter image description here

The first thing to do is to write the name we want for our template:

enter image description here

The new window is divided into 4 tabs: Servers, Service definition, Prices and Contract.

Servers

In the first tab we will select on which server we want the services created with the template to be created:

enter image description here

Once selected, we will have 3 options to choose: Web Hosting, Redirected and Mail. In our case we will choose Web Hosting:

enter image description here

In this new section, we must select the Cloud that we want to be the mail and database Cloud. If we wish, we could select as Mail or database server the same Cloud in which the service will be created.

Service Definition

The service definition tab is used for managing the parameters that define the services to be created with the template. These are as follows:

Generic service data.

The generic data of the service is used to define the disk space that is associated to the created service and the traffic that is assigned to it. In addition, you can decide whether the created hostings are allowed to activate Web Statistics via AWStats. This option will only be available if it is installed on the main service.

Activate e-mail services

From here you can define the following options:

  • Number of email accounts that are allowed to be created in the service.
  • Maximum size that can be occupied by each email account.
  • Default size of each mail account.
  • Total disk space allocated to mail

In addition, there are two options that you can enable that allow you to activate or deactivate the AntiVirus or AntiSpam services.

There are also two more options to consider within the mail services:

  • Enable Mail Aliases.

You can decide if and how many mail alias accounts can be created.

  • Enable Mail Distribution Lists

With this option you can decide if distribution lists can be created, the maximum number of lists and the maximum number of mail accounts that can be added to the created lists.

Enable FTP services

The number of FTP accounts that can be created in each Hosting is defined.

Enable database services

The number of databases allowed in each Hosting is defined.

DNS services and management

With this option, you can select a previously created DNS template and thus define the predefined DNS of each Hosting.

Pricing

As its name indicates, the prices tab is used to manage the prices and additional costs that the service could have. enter image description here

Contract

If you want your customer to accept a contract previously written by you, you can write it. The contract has 3 different options to choose from:

  • The user must accept the contract before activating the service.
  • The user does not need to accept the contract when activating the service.
  • The user must view the contract without accepting it.

Creating the Service from a template

Once the template has been created, the services can be created from it. To do this, click on the blue button Create Service, located at the top right of the main Dashboard of the SWPanel:

enter image description here

In the new screen, click on the From my Hosting Templates button:

enter image description here

We will have to choose which template we want to use in this new service:

enter image description here

Now, we write the domain we want to assign to the Hosting service and select if we want it to be registered or not. If you have already registered the domain with us, the SWPanel will detect it and will notify you so that you can assign it to the service.

enter image description here

If you want to create an access to the SWPanel with the specified data, you must click on I want to create an access to the SWPanel with the following data, type the user and password you want it to have and select the user profile it should have:

enter image description here

If you wish you can activate an https for the website that will be created with the template.

To finalize the process, accept the derived costs by selecting the Accept and create button.

enter image description here