Question
How to setup webmail client on Ubuntu 18.04 server with Apache, not in main web site directory.
I have successfully installed and setup postfix. I would like to add webmail to the server. If the site domain is example.com, and the main site directory (served by Apache2) is /var/www/html, I wish to add webmail to the site, but it cannot be in the /var/www/html directory. For example, I would like the webmail folder to be located in /var/www/webmail.
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.
×