I am trying to setup emails with my own website. Let\'s say the domain name is abc.com
.
The nameserver in use is digital ocean and I also have a gmail accou
I had the same problem: 404 error, domain not found.
The cause The EU region selection for the domain on Mailgun
The solution Change the region from EU back to the default of US.
Since I had not used the domain at all up to this point, I simply deleted it, re-added it, then changed my TXT, MX and CNAME records (for example, mailgun.org instead of eu.mailgun.org) at the domain registrar (which was GoDaddy in my case).