Using Mautic Automated Marketing on an Alibaba Cloud Instance with DirectMail

Step 1. Open Security Group Ports

Inbound Rules

Outbound Rules

Step 2. Configure Alibaba Cloud DNS

Step 3. Configure Alibaba Cloud Direct Mail

Add an Email Domain

Add Sender Address and Set SMTP Password

<Sender Account Name>@<Email Subdomain>
smtpdm-ap-southeast-1.aliyun.com

Step 4. Install Webinoly LEMP Stack

# wget -qO weby qrok.es/wy && bash weby 3

Step 5. Create Virtual Host & Root Directory

# site example.com -php
# nano /etc/nginx/sites-available/example.com

Step 6. Obtain an SSL Certificate with Webinoly

# site example.com -ssl-on

Step 7. Create your Mautic Database

# mysql -u root -p
CREATE DATABASE mastic DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;
GRANT ALL ON mastic.* TO 'new_user'@'localhost' IDENTIFIED BY 'new_users_password';
FLUSH PRIVILEGES;
EXIT;

Step 8. Download Mautic Files

# cd /var/www/example.com/htdocs
# wget https://www.mautic.org/download/latest -O mautic.zip
# unzip mautic.zip

Step 9. Prepare Mautic Directory permissions

# rm mautic.zip
# ls -l
# chown -R www-data:www-data /var/www/example.com/htdocs
# ls -l

Step 10. Install and Configure Mautic

https://example.com

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store