Question

Set up You Mail Server as well as host your dynamic site.

As I was following the tutorial on the topic. https://www.digitalocean.com/community/tutorials/how-to-set-up-a-postfix-e-mail-server-with-dovecot

But In that, I am not able to host my site. Actually, I want to host the Dynamic site and also run a mail server on the same system. Is It Possible.?

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Hello, @YJB

You can host your site and install postfix to send emails from the same droplet, this is not an issue at all. You can first configure a LAMP or LEMP stack droplet and then configure everything related to your site and then follow our tutorial for the Postfix + Dovecot setup.

https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-20-04

and then install Postfix:

https://www.digitalocean.com/community/tutorials/how-to-set-up-a-postfix-e-mail-server-with-dovecot

Also, make sure to check this article before going with the Postfix installation:

https://www.digitalocean.com/community/tutorials/why-you-may-not-want-to-run-your-own-mail-server

Hope that this helps Regards, Alex