SiteHost

Deploying Mautic on SiteHost Cloud Containers

Mautic is an open-source marketing automation platform used for email campaigns, lead tracking, and customer engagement.

More information about Mautic and its requirements can be found in the official documentation: https://www.mautic.org/docs

Creating the Application Container

In your control panel, select the Apache + PHP 8.3 Cloud Container image.

At the time of writing, PHP 8.3 is the recommended and tested version for Mautic 6.

Once the container is created, confirm that SSL is enabled for the domain, as HTTPS is required for secure tracking and authentication features.

For detailed instructions on creating a container, refer to our Knowledgebase article: Creating and Managing a Container

Mautic is a stateful application that relies heavily on database and email reliability. Ensure your database and SMTP services are stable before deploying in production.

PHP Configuration

Mautic requires specific PHP settings to operate correctly.

Edit the container’s php.ini (/container/config/php/php.ini) file and ensure the following values are set:

memory_limit = 512M
max_execution_time = 240
zend.assertions = -1

After making changes, restart the container to apply the new PHP configuration.

Note: Insufficient memory or execution time limits can cause failures during updates, campaign processing, or large contact imports.

Downloading and Deploying Mautic

Access the container via SSH and navigate to the application directory:

cd /container/application

Remove the existing public directory to prepare a clean web root:

rm -rf public

Download the official Mautic release (example uses version 6.0.6):

wget https://github.com/mautic/mautic/releases/download/6.0.6/6.0.6.zip

Extract the archive and recreate the web root:

unzip 6.0.6.zip -d public

Navigate into the new public directory and install Mautic dependencies using Composer:

cd public
composer install

Once completed, proceed with the web-based installer by accessing your domain in a browser and following the on-screen instructions.

Database Configuration

When creating your Cloud Container, you assign a database name, username, and password. These credentials must be entered during the Mautic installation wizard when prompted.

For the database host, you must use the internal service name of the database container you selected. For example, if you selected MariaDB 10.11, the database host will typically be: mariadb1011

Mautic will automatically create and initialise the required database schema.

For detailed instructions on managing databases, refer to our Knowledgebase article: Managing Databases

Completing the Installation

Once the database setup is complete:

  • Create an administrator account
  • Review and confirm system requirements

After installation finishes, you will be redirected to the Mautic dashboard.

Configuring Email Sending

Email delivery is a core function of Mautic and must be configured before campaigns can be sent.

Navigate to Settings → Email Settings and configure SMTP using your provided mail service details. A common internal container configuration may look like:

  • Scheme: smtp
  • Host: smtpd
  • Port: 25

Save the configuration, then validate it by sending a test email. Mail Settings