Wordpress emails not being sent (VirtualMin)
Hi, I used your amazing guide to install Virtualmin LEMP and I installed Wordpress using the virtualmin script. I am facing 2 problems:
Firstly, Emails are not being sent from the website. I am talking about Wordpress emails, Contact form emails, etc.
Secondly, I am getting errors in console saying: Failed to load resource: the server responded with a status of 403 () /wp-admin/admin-ajax.php
Any idea on how I can solve these?
Did you complete the Domain Specific Emails tutorial for Virtualmin? You should complete it for better deliverability. And after you complete that, I suggest creating a mailbox like firstname.lastname@example.org and integrate it with WordPress using a free plugin like WP Mail SMTP. Let me know if you still have issues after doing that. Also don't forget to check your spam folder.
About the second issue. This can be a plugin or theme conflict. Nginx error log should have helpful information.
Yes, some steps need to be done for every domain.
Thanks. If I have more than one domain in virtualmin on my DO droplet, how do I configure the reverse dns? Also, what is the reason why I have to create a alias server? I can't use my regular server?
Reverse DNS doesn't have to be set for all domains. It should match your server hostname.
You don't have to create another server in DigitalOcean for alias. It's a Virtualmin feature.