Hey,
I have discourse running on my droplet and would like to install a mail server. I was following this guide (https://www.digitalocean.com/community/tutorials/how-to-configure-a-mail-server-using-postfix-dovecot-mysql-and-spamassasin) and encountered the issue listed below:
* Starting web server apache2
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
How do I fix this issue? Discourse requires Ruby on Rails. I’m on Ubuntu 14.04.
Any suggestions? Thanks!
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!
Hi!
You seem to have Apache already installed. That error is Apache failing to start because something is already listening on port 80, presumably Discourse. Why exactly do you need to install Apache? It’s not necessary to have Apache running to set up a mail server.
Also, you don’t necessarily need to run your own mail server. You can configure Discourse to use an external service like Mandril to send mail. Mandril will let you send 12k emails per month on its free level. I’d encourage you to take that route. It’s much simpler than hosting your own SMTP server.
If you really need Apache running, you can configure Discourse to listen on a different port and then use Apache as a proxy in front of it.
I’m using mandrill for discourse at the moment. Do I need a mail server to setup email address under specific domain? I was under the impression that I needed one for personal emails addresses. Pardon ignorance on this front, I’m fairly new at it.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.