I’m on ubuntu 20.04 with LAMP server running.
I’m actually trying to setup my own mail server on my vps, on the same droplet as my website.
I’ve been trying to follow the tutorial : https://www.linuxbabe.com/ubuntu/install-roundcube-webmail-ubuntu-20-04-apache-nginx
So as I understood, I need to setup Postfix for SMTP and Dovecot for IMAP but at the beginning of this tutorial https://www.linuxbabe.com/mail-server/setup-basic-postfix-mail-sever-ubuntu
It’s asked to modified the FQDN, that’s where I’m facing an issue.
I don’t really understand the impact of FQDN and my website is in production, I don’t want to got it down again (I had a big issue after installing iRedMail)
So does somebody faced the same problem, like hosting your mail server on the same droplet that is hosting your website ?
I’m sorry if it’s a bit messy, feel free to ask me anything, I’m completely lost.
By the way, if you have a better way to have multiple email adresses on a custom domain, all hosted on my vps and free, I take it, I just don’t want to use external hosting.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.