By dan visan
Hello, I’m almost a complete noob at this.
I followd Discrouse’s install instructions and created an account on SendGrid to serve as a mail server for Discourse. However, I seem to cannot validate the domain (whitelabeling) that I added on the SendGrid account. It seems that I don’t know how to add the CNAME records for my droplet’s domain, because I’m getting the following message:
Error validating domain: Expected CNAME for “mail.medaddon.com” to match “u2210027.wl.sendgrid.net”. Expected CNAME for “s1._domainkey.medaddon.com” to match “s1.domainkey.u2210027.wl.sendgrid.net”. Expected CNAME for “s2._domainkey.medaddon.com” to match “s2.domainkey.u2210027.wl.sendgrid.net”.
I hope it’s still propagating.
Can somebody help, please? :D
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!
Accepted Answer
Hi!
In your do admin panel go to Network > Domains > yourdomain.com
Then, create the following cnames:
Source | Target |
---|---|
u2210027.wl.sendgrid.net. | |
s1.domainkey | s1.domainkey.u2210027.wl.sendgrid.net. |
s2.domainkey | s2.domainkey.u2210027.wl.sendgrid.net |
Notice two things:
Hey there,
Thank you for reaching out to us!
You’d want to add the CNAME records here.
If you have a problem with adding the CNAME records or would like support to double check the records for you, reach out to us with a support ticket.
Happy coding,
Jon Schwenn Platform Support Specialist DigitalOcean
SendGrid shows you something like
s1.domainkey.yourdomain.com s1.domainkey.u1XXXXXX.wXXXX.sendgrid.net
in DigitalOcean when adding a CNAME… drop the yourdomain.com from the first value
so enter
s1.domainkey -> s1.domainkey.u…
when you see the setup after saving… you will see something like
s2._domainkey.yourdomain.com. 1800 IN CNAME s2.domainkey.u1XXXXXX.wXXXX.sendgrid.net.
or something… then validation should happen fairly quick
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.