Bulk Email Server Guide: Add user, domain and create Free SSL

Now that we have a control panel installed on our main server we'll use in our Bulk Email System it's time to add a user and domain where Email Marketing Software (EMS) will run.

Did you notice I said "Bulk Email System" and not "Bulk Email Server"?

Let's refresh our memory

The Main server is the server where your Email Marketing Software (EMS) is installed. Since we are getting ready to set up a bulk email server with an option to scale it up if needed I recommend you pick a bit more powerful VPS for it.

The MTA server is a server where PowerMTA is installed. These servers are doing all the sending. This is just one layer of protection to keep your MTA servers away from your Main server. In case there is ever a problem your main server will never be taken down since it's not doing any sending at all. MTA server can be any budget VPS with at least 1GB RAM.

Add A and AAAA records

Before we add our user and domain we have to add the necessary A and AAAA records for our domain. This is needed so we can generate a Free SSL Certificate as soon as we add a user/domain and save a few clicks later.

Log in to your CloudFlare account or wherever you manage DNS records for your domain and add A and AAAA records for example.com and www.example.com.


Please do NOT use example.com. This is just an example!

What are A and AAAA records?

A Record returns a 32-bit IPv4 address, most commonly used to map hostnames to an IP address of the host

AAAA Record returns a 128-bit IPv6 address, most commonly used to map hostnames to an IP address of the host.

So to get everything set up correctly you would do something like in the picture below.

Bulk email DNS records

Where A records for @ and www points to IPv4 of your Main server and AAAA records for @ and www points to IPv6 of your Main server.

Type Name Value

For now, make sure that IP masking isn't set on. The cloud next to each record must be grey!


@ represent root domain (example.com)

Add user and domain

If you are using CloudFlare your DNS changes will be instantly set up. If you are using another DNS hoster you might have to wait before changes are propagated.

To add a user re-login back to your control panel dashboard and go to "User Accounts > New Account". Fill in everything like in the picture below (do change your domain name!) and click "Create".

control panel create user account

If your DNS records are correct an SSL certificate will be auto-generated so you will be able to use a secure connection for logging into your Email Marketing Software.

In the next step, we'll add all other DNS records, but you might want to take a break before you continue.

Having problems?
Please use the comments below for your questions. This way other users can benefit from provided answers. Please read this first!

This tutorial is a part of the complete Do It Yourself Bulk Email Server Guide. If you are interested in starting with email marketing or want to improve your delivery, open, and click rates I recommend that you follow it from the beginning. Almost 15 years in this business and many, many tests show that this is the best long-run solution for every mass email sender with a double opt-in, scraped, or bought list.

Join Hundreds of Happy Email Marketers!

Start the Guide Now!

This Post Has 7 Comments

  1. ninja

    Here are most frequent problems users have in this step.

    I can’t generate an SSL certificate
    Make sure you set A records for domain.com and http://www.domain.com. If you are using CloudFlare disable IP masking during this step.

  2. pritich

    I have set @ and www correctly pointing to server ip. But SSL is not generating and giving below error. Pls advice.

    AutoSSL Issue Failed![Fri Sep 29 10:51:54 IST 2017] Single domain=’somegreetings.com’
    [Fri Sep 29 10:51:54 IST 2017] Getting domain auth token for each domain
    [Fri Sep 29 10:51:54 IST 2017] Getting webroot for domain=’somegreetings.com’
    [Fri Sep 29 10:51:54 IST 2017] Getting new-authz for domain=’somegreetings.com’
    [Fri Sep 29 10:51:55 IST 2017] The new-authz request is ok.
    [Fri Sep 29 10:51:55 IST 2017] Verifying:somegreetings.com
    [Fri Sep 29 10:51:58 IST 2017] somegreetings.com:Verify error:Invalid response from http://somegreetings.com/.well-known/acme-challenge/5zb5F9GvbMYpMdW6uyTUk1ovEC4eiIX3FOa8_AZKL9Q:
    [Fri Sep 29 10:51:58 IST 2017] Please check log file for more details: /root/.acme.sh/acme.sh.log

    1. ninja

      Try again I a few hours. DNS records aren’t updated and auth key does not match yet.

      1. hidoprifo

        Cloudflare is quit instance, the problem is masking.
        Make sure to enable that orange cloud on @ and hostname.domain.com
        then try to install SSL via CWP
        Apache setting > SSL cert manager > auto > install

        1. hidoprifo

          NOTE: hostname.domain.com is my masking domain for my mta server not my hostname domain
          In this guide if I still remember we used link.domain.com

          1. ninja

            Can you please explain a bit more.

          2. jnyyzzz

            Thanks hidoprifo! After creating SSL, do you keep the orange clouds enabled? Or do you switch them to grey? Thanks again.

Comments are closed.