Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

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!
I created a Droplet with LAMP Application and I follow this instructions but php mail() function doesn’t work. Can you help me?
I’ve followed these directions, and the send-only server works as expected when sending email to any@externaldomains.com, however it won’t send out to email addresses for our actual domain.
To clarify, our email is hosted by Google Apps, not on our server. So when Postfix is instructed to send mail to any@ourhostname.com, that email needs to go out to Google, not just try to route to a local user on the server.
I hope that is clear enough.
This comment has been deleted
I’m having the same issue as cliffkujala
In the 4th step if I put root: xxxx@mydomain.com it does not work but if I put root: xxxx@gmail.com it works.
I am also using google apps for business to send and receive emails for xxxx@mydomain.com
Also: how does this work if you are running several domains on one droplet? I currently have two domains hosting wordpress and need notifications sent to xxxx@mydomain1.com and xxxx@mydomain2.com from the wordpress app for email notification and contact forms and such.
Does setting root: xxxx@gmail.com just send notifications from the droplet server or does it sent notifications from the wordpress app?
I fought this issue for a whole day and then some before I finally found a solution. I created my email at myname@mydomain.com through the Google app for business and I could get email through the mail app from any other mail app but could not get it from a form on my site. I searched and searched then I finally destroyed the droplet and started from scratch.
I created a new droplet with a hostname that had nothing to do with my site.
Then I did the initial server setup for Ubuntu 14.04 here https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-14-04
Then set up Apache virtual host from this tuturial https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-14-04-lts
Then finally followed this tutorial.
It seems like the key is not having a host name that is the same as your domain.com name. When using the form on the website the form information will now to go my myname@mydomain.com address in my Google app rather than the local deliver system at /var/mail/user
So my question is: What do I do differently to set up for two separate domain.com’s on one droplet?
Is it going to be as simple as setting up a different user for the 2nd domain? Such as adding
user1: user1@domain1.com
then
user2: user2@domain2.com
in the /etc/aliases file?
More specifically I use admin@domain1.com and admin@domain2.com. I had been creating both sites with the same user name either user or wp-user as suggested in the tutorial for secure installs and updates for WordPress.
Eventually I would like to setup and use my own mail server but I still have far too much to learn first so for now letting Google App handle it works fine for me.
thanks for the tutorial can you use that configuration for bulk mailing ? and what size should u use in that configuration??
At step 1, I don’t get to see that screen like the image is showing. And why would I name it like my droplet? what if I host more than one website on my droplet?
I followed this tutorial and tried step 4 to send an email to my gmail and it doesn’t work.