Set up Mail Server (RoundCube webmail) on aaPanel + CloudHosting

SETUP MAIL SERVER (ROUNDCUBE WEBMAIL) ON AAPANEL + CLOUDHOSTING

Table of Contents

INTRODUCTION TO AAPANEL MAIL SERVER

A mail server is the computerized equivalent of your friendly neighborhood mailman. Every email that is sent passes through a series of mail servers along its way to its intended recipient. 


Although it may seem like a message is sent instantly – zipping from one PC to another in the blink of an eye – the reality is that a complex series of transfers take place. 


Without this series of mail servers, you would only be able to send emails to people whose email address domains matched your own — i.e., you could only send messages from one example.com account to another example.com account.

HOW TO SET UP AAPANEL MAIL SERVER - GETTING STARTED

Step 1. Login Into 1byte's Account And Navigate To Cloud Hosting

Type your Username and Password to login to your 1Byte’s account

SETUP MAIL SERVER (ROUNDCUBE WEBMAIL) ON AAPANEL + CLOUDHOSTING
  1. After login, go to your Dashboard 

Find Cloud Hosting in your Dashboard

In this demo, we will setup mail Server on this Cloud hosting : 220.158.232.118

Step 2. Point Domain To The Cloud Hosting

First, go to Domain and click Manage

SETUP MAIL SERVER (ROUNDCUBE WEBMAIL) ON AAPANEL + CLOUDHOSTING

At Nameserver, choose Basic DNS

Add a Record for this domain

Finally, login to aaPanel to prepare for the next steps

Step 3. From The App Store, Install The Following Packages/applications

3.1. Search Keyword "Mail Server" And Install

  • In App Store, type Mail Server in Search App box. Find Operation column and click Install

Turn on Display on dashboard

Next, open up Mail Server and check what the missing conditions are

SETUP MAIL SERVER (ROUNDCUBE WEBMAIL) ON AAPANEL + CLOUDHOSTING

As you can see here, Mail Server has not recognized the hostname variable

Select Repair and enter your domain name to fix

3.2. Download "Redis" From " App Store

Similar to Mail Server, type redis at Search app box in App StoreAnd click Install at Operation column.

In Performance tuning, type a password for Redis at requirepass box.

Go back to Mail Server to check if there is anything missing.

If everything is ready, click Submit button to proceed with the setup.

Next, click on Add Domain in this Mail Server.
Add the Domain name and A record, then Submit.

After that you will see some missing record 

Click on Not Set and follow the prompts to add related records

Go to Domain Dashboard add MX Record

Add the remaining TXT records

After that, the TXT Record will look like an image below

Setup Mail Server (RoundCube webmail) on aaPanel + CloudHosting

Finally, check to see if the DNS system has update these record for the Domain

Don’t worry if a certain record has not been set. Click the Refresh Domain record button to re-check 

Next we will set up SSL for mail Server by Click on Add SSL 

Add these records to your Domain and then click the verification button

After installing SSL successfully, you will see your SSL expired date 

3.3. Install "one-click-deployment" utility

One more time, now type one-click deployment at Search app box in App Store. And click Install at Operation column

From one-click deployment, let install RoundCube

From RoundCube webmail, install PHP, Nginx and MySQL

3.4. Let's Install PHP 8.0

This time, let’s type PHP 8.0 at the Search app box in the App Store. And click Install at the Operation column. 

Fill out the pop-up form and click submit

3.5. Install Nginx Web Server

Type NGINX at Search app box in App Store. And click Install at Operation column.

Setup Mail Server (RoundCube webmail) on aaPanel + CloudHosting

3.6. Install MySQl Database for RoundCube

Type mySQL at Search app box in App Store. And click Install at Operation column.

SETUP MAIL SERVER (ROUNDCUBE WEBMAIL) ON AAPANEL + CLOUDHOSTING

3.7. Install RoundCube

Go to the Home dashboard and open one-click deployment

RoundCube and click on One-Click to install 

Set up URL for RoundCube webmail, then Submit

To login to RoundCube webmail, access your URL on the pop up

We just installed RoundCube, now we need to create an account of RoundCube.

 

From your Domain List, at the Operating column, click on User to create a new account. 

Click Add User and fill in the details, then Submit.

Step 4. Test Sending And Receiving Email

Go to Webmail and use the newly created account to log in

 
SETUP MAIL SERVER (ROUNDCUBE WEBMAIL) ON AAPANEL + CLOUDHOSTING

Try to compose an email and sending it to Gmail 

Check mail in Gmail and send back

Finally, we successfully created an email that can send and received email

Video work through from step 1 to step 4

CONCLUSION

You should use your professional email address to convey confidence in your brand, company, or organization. Once you’ve decided on a domain name that reflects your company or profession.

1Byte is proud to provide the best cloud hosting from Cambodia. So, if you haven’t already, go ahead and buy now!

MORE REFERENCES


+ To get the latest promotions, events. Please check out this link

+ To get the fastest answer, the FAQ Page is the best place to look for

+ Keep up with 1Byte’s YouTube channel to make it simpler to comprehend

+ As always, 1Byte would bring you fresh content and exclusive deals in the future. 

STAY TUNED!!!

JOINT OUR GROWING FAMILY

4 Steps To Online Success
4 Steps To Online Success

OTHER RESOURCES YOU MIGHT BE INTERESTED IN:

+ aaPanel FTP: How to manage & customize

+ aaPanel database backup: A step-by-step guide

+ Upload website to aaPanel: How to do it right

+ Create a website with aaPanel

+ Common settings of aaPanel

+ aaPanel: Everything about Monitor