Setting up custom email addresses for domain bought from Digital Ocean - digital-ocean

I have a domain name hosted on digital ocean, 'www.mydomain.com' and hosting an application made in django. I need to create an email address 'me#mydomain.com'. I have searched on a way to do this from start to finish but cant get a definite answer. Need some guidance.

Digital Ocean does not provide an e-mail component. You can either install and setup your own e-mail server from scratch, which you don't want to do. Or use an e-mail hosting service provider, zoho.com is a free one. There are others. Rackspace, and Google offer e-mail host solutions, but they are both fee-based.
Once you sign up for an e-mail hosting account, zoho.com or whichever e-mail service provider you choose will provide you with an MX record setup. You will then add an MX record to your DNS records on your Digital Ocean domain.
This will connect your domain name to the e-mail hosting service.
After this, you need to setup your e-mail on the e-mail hosting service. THis is a non-trival task and you'll have to do reading on SMTP, POP, IMAP etc. There is plenty of help on the zoho site.
Make sure to test sending and receiving e-mails to make sure the setup is working.
Once you have working e-mail on your domain, then you can move on to using it in your Django app.

Related

Receiving Incoming Email on Google Compute Engine Hosted Domain?

Current Setup :
Domain registrar - Godaddy.com
Domain Hosted on - Google Cloud Platform
CMS - Wordpress
I have a simple Wordpress website that is hosted on the Google Cloud Platform free tier. For any emails that need to go out of Wordpress (Password reset mails / notifications etc.), I have configured SendGrid as the SMTP relay and it works perfectly.
My problem now is how to receive incoming emails ?
I just want to setup a couple of email accounts for my domain and forward / import all incoming emails to my Gmail account.
All instructions point to Gsuite, which will be an overkill at this time since I will not be using any of its features. I just need to receive occasional incoming emails.
While there are literally 100's of articles on configuring outgoing emails via SendGrid / MailJet etc., there are no useful articles on how to receive incoming emails.
Google search mostly turns up an old video about using a free Zoho account; which itself is now become a paid app.
Tried so far :
[1] Tried to set-up email forwarding on Godaddy. Nothing worked. Since the Nameservers are pointed to Google Cloud DNS, I believe Godaddy forwarding will not work.
[2] Checked SendGrid options, could not find anything.
[3] Trawled through Google for several hours, could not turn up anything useful.
I would sincerely appreciate any relatively straight-forward solutions / suggestions / pointers for receiving incoming emails - Either through the GCP or outside.
Just add an mx record to your domain that point to the IP address of the machine hosting your mail service .
Here's how you can add the record :
https://godaddy.com/help/add-an-mx-record-19234

Transferring Domain to Route53 - Email Access

I am helping out a friends business who have had a falling out with their web developer, and I want to transfer their domain to Route53.
I have the domain password so I am going to shift everything across to Amazon.
However the email accounts "info#domain.com" and "admin#domain.com" were set up by the other developer, who have unfortunately cut all communication between my friend and them.
My question is what will happen to those email addresses after I transfer the domain, I presume they will shut down? Is there anyway to determine where an email account is hosted and thus determine it's MX records for Route53?
If they lose the account is it possible to register new emails with the same address after the transfer?
If you control the DNS servers, you can switch the MX record to a new host, which will give you complete control of your email.
You can do this in Amazon with Workmail, or set up something like gmail.
Any new emails will come into the new server. You will not have access to any of the old emails however.

AWS Certificate Manager and Route 53 approve SSL certificates

I run a SaaS with multiple subdomains and with the option for customers to use their own domains too.
This means, that we host eg:
customer1.ourdomain.com
customer2.ourdomain.com
www.customer3.com
www.customer4.com
When creating a certificate through ACM, I have to confirm the new certificate for all domains, that's fair, as I can live with that.
But our customers can't live with confirming their domain everytime we add a new certificate (since we still can't update/add domains to an existing cert.).
My question is, can I, somehow intercept the mails that are being send out, when the domains has to be confirmed?
Of cause I can't always get their mails, but just for eg. hostmaster#customer3.com
The domains can be moved to Route 53 if needed, the customers usually have had them in a long time, hosted somewhere else. We usually just make a CNAME to our ELB.
How do other people deal with this?
Best regards, thanks in advance
Currently, you have two options here:
Firstly, AWS allows you to configure the base domain name to which you want the validation email to be sent. For instance, you are requesting SSL for subdomains like *.customer1.ourdomain.com or *.customer2.ourdomain.com you can specify ourdomain.com as the validation domain.
Can I configure the email addresses to which the certificate approval
request is sent? No, but you can configure the base domain name to
which you want the validation email to be sent. The base domain name
must be a superdomain of the domain name in the certificate request.
For example, if you want to request a certificate for
server.domain.example.com but want to direct the approval email to
admin#domain.example.com, you can do so using the AWS CLI or API. See
ACM CLI Reference and ACM API Reference for further details.
To enhance this process even further you can try acmagent pip library to automate you SSL confirmation
pip install acmagent
Requesting SSL
$ acmagent request-certificate --domain-name *.dev.example.com --validation-domain example.com
12345678-1234-1234-1234-123456789012
Approving SSL
$ acmagent confirm-certificate --certificate-id 12345678-1234-1234-1234-123456789012
More examples can be found here.
The second option is to create a MX record in the hosted zone pointing to the SES service and use Lambda function to parse the confirmation email body. I found an existing project that looks like is doing this already: aws-acm-certificate-request-approver
Hopefully, that helps.

Hosting website on AWS but bought domain from google?

I bought a domain (let's say example.com) from google domains a couple of days back, but found out their web hosting is terrible. They only allow me use one of their partner hosting services. I want a simple ssh/ftp based web hosting service, where I can simply dump the html files.
So, I turned to AWS webservices to host my website. Everything works well, until I want to assign it a domain name. AWS assigned me a domain like "mytest-bucket.com.s3-website-us-west-2.amazonaws.com/", but I want to use my bought domain.
AWS allows me to buy a new domain from it, but I already have one (example.com), and want to make AWS host my website under that domain name.
Apologies if this is a newbie mistake/question but I am new to commercial web-hosting.
There is a option in AWS Route53 where you can transfer domain to AWS. Check this guide.
http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/domain-transfer-to-route-53.html
Another way is you can change the DNS servers to Route53. Check this guide.
http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/MigratingDNS.html
Another option is you can add "mytest-bucket.com.s3-website-us-west-2.amazonaws.com" as a C-name to your domain in Google and your domain "example.com" will start showing the website.

Setting up transactional emails from WordPress using AWS SES

Ive been reading all days different blog all around the web looking for a solution to my problem. For the first time in my life a used AWS VPS (with ubuntu 2.04.1 LTS) to host my Wordpress blog. My problem is I dont know how to send transactional mails (user suscription confirmation, password reset) through it. I set a AWS SES account and already verified a domain and have been granted production access. I dont know what to do next. How can i verify a sender email address using my Dreamhost domain and how can i start sending welcome emails to new users from a custom domain email address?
I found some wordpress plugins such as WP SES but all i get is an empty blank page when i try to access their settings.
Your help is much appreciated, thanks.
Since you are using Wordpress, you can easily use a plugin to send through Amazon SES.
Our AWS re:Invent presentation shows you how to configure Amazon SES and Wordpress to send using the service. We used the Configure SMTP plugin to connect Wordpress with Amazon SES. This plugin sends all email generated by Wordpress through Amazon SES.
Also, you don't need to verify an email address if you have production access and the domain you are sending from is already verified. Amazon SES will accept email from any email address at the verified domain.