How to host Mautic on Vultr Server - ServerAvatar

Published : Dec 30, 2022

Share This Post

cloud-platform

Vultr

Vultr is one of the simplest cloud platforms available. It is very easy to create and manage infrastructure in Vultr. You can create on-demand cloud instances or servers at 28 different locations world wide.

Get started with Vultr
application

Mautic

Mautic is an open-source marketing automation tool that helps you automate the marketing tasks including lead management, campaign management, etc. With Mautic, converting and managing leads is lot easier.

More info

Create a Cloud Instance in Vultr

To create a server in Vultr, follow the below given steps. If you want to learn How to use Vultr to manage your infrastructure in Vultr, You can refer our Vultr cloud guide.

Step 1: Go to Instance Creation Page

Vultr provides lots of different types of cloud instances. From the server creation page, you can create lots of different types of cloud instances, like Regular VMs, Dedicated, Bare Metal, Cloud GPUs and some managed services.

To access the server creation page, log in to your Vultr account and click on the Deploy New Server option from the + button given on the dashboard.

Create server in Vultr - Step 1

Step 2: Choose Server

You can create 4 different types of cloud instances. They are Optimised cloud compute, Cloud compute, Cloud GPU and Bare Metal. Select the one that fits your requirements.

Create server in Vultr - Step 2

Step 3: Choose Server Type

Based on your selection of the server in the second step, You will have to select a specific type of server. If you have selected Optimised cloud compute instance, You will see options like the following image.

Create server in Vultr - Step 3

Step 4: Select Server Location

Location is very important option. Make sure to select a server location closest to your major traffic source demographically. You can select locations in 5 different continents.

Create server in Vultr - Step 4

Step 5: Select Server Image

In simple terms, Server image is an operating system running on the server. So here, You have to select an OS for your server.

If you are managing your servers with ServerAvatar, Select Ubuntu 20.04 or Ubuntu 22.04.

Create server in Vultr - Step 5

Step 6: Select Server Size

Here, Select a server size according to your requirements. If you are just getting started with the project, You can start small and then upgrade according to the future requirements.

Create server in Vultr - Step 6

Step 7: Add Auto Backups and Additional Features

We recommend you to enable auto backups for important websites or apps. If you are creating a temporary server, You can skip the auto backups.

In additional features, You can enable DDOS Protection if needed. Enable other options according to your requirements.

Do not enable "No Public IPv4 Address" option. It will result in a server without IPv4, which is not possible to connect with ServerAvatar.

Step 8: Select an SSH Key

If you use SSH key to authenticate with the server, Select an SSH key in this section. If you haven't uploaded your key yet, You can do it by clicking on the Add New option.

SSH key is not mandatory. If you do not use SSH keys, Ignore this option. You can still connect with server using password.

Create server in Vultr - Step 8

Step 9: Firewall Group

If you are using Vultr firewall, You can select the firewall group from here.

If you do not have 43210 port enabled in your firewall group, you need to configure it to connect a server with ServerAvatar.

Create server in Vultr - Step 9

Step 10: Server Hostname and Label

You have to choose the hostname and the label for the server in this step. You can set the same hostname and label. They are used for identification purpose only.

Create server in Vultr - Step 10

Step 11: Deploy Now!

Finally, click on the Deploy Now button to create a server. It might take a minute or two to fully boot up your server. Once it is ready, You will see it in the Products section in Vultr.

Create server in Vultr - Step 11

Initial Server Configuration

The Initial server configuration includes installation and configuration of various packages required to host your website. Usually, You have to write commands and modify configuration files. Luckily, With ServerAvatar, Your full server configuration and optimisation can be automated.

Here are the three ways to automatically configure your server with ServerAvatar.

Auto-install Mautic with ServerAvatar

Step-1 Create a PHP application

Once you are on the server panel, access the Application tab from the sidebar.

Create application

Now by clicking the Create button, you’ll see the application creation form as the below image. Fill in the required details to create an application, including the Application Name, Primary Domain, and other PHP Settings.

application creation form

Click the Create Application button.

Note that:

If you want to host Mautic CRM on your domain, then make sure to point your domain to the current IP address of your server, and for that:

  1. Log in to your hosting provider site, where you buy your domain. You can check your domain information with one click.

  2. Access DNS Manager to edit your DNS records(contact the support team if you don’t find them)

  3. Change the IP address of A Record of your website to the current server’s IP address.

Step-2 Auto-install Mautic application

From your application panel, access the Auto deploy tab from the sidebar. Now click the Mautic Auto install card like the below image.

Mautic Auto-install

It asks to enter Mautic application details in the form. The details include the following-

Admin credential

These details are used for logging in to your Mautic panel as an admin.

  • First Name: Enter admin first name
  • Last Name: Enter admin last name
  • Username: Enter admin username
  • Email:You will use this email if you forget your password or want to reset the password.
  • Password: Enter admin password

PHP Settings

PHP Version: You can here change the PHP version for your Mautic installation.

Email Configuration

Mail from Name: The name seen when you send an email. Mail from email: The email address from which you send an email. Mail Username: Username of chosen SMTP credential Mail password: Password of chosen SMTP credential Mail port: 25 or 465, or 587 would be recommended for sending an email. Mail Host: Chosen SMTP hostname. For example, smtp.pepipost.com.

Auto deploy form

After filling up all the details, click the Install Now button.

Step-3. Install SSL Certificate

You can install SSL for your website using just one click. On the application panel, click on the SSL Certificates tab from the sidebar.

Install SSL

You can also use a custom installation method to install SSL certificates. After installing the SSL, check the box of Force HTTP to HTTPS to secure the communication between your browser and website.

Once you are done, access the Application URL on your browser. It redirects to the admin login page. Enter admin credentials to log in to your Mautic admin panel.

And that’s it. You can now use Mautic to create a strong marketing strategy for your business.