I saw in the setup guide and other questions that I need to use the same subdomain for Mailgun. So if I want to install Discourse at www.example.com, do i need to add www.example.com to Mailgun? Or example.com will work too?
example.com is sufficient. You will need
forum.example.com or other subdomain if your Discourse is on a subdomain.
Ok, thanks. But I still need to use
No. only the domain part -
forum.example.com - depending on your setup.
hm, I thought
www. is technically the same subdomain as
I want Discourse to be at
example.com redirects to www.)
You’ll make that setup in the DNS zone file.
Create a CNAME record that sets
www.example.com as an alias of
No. They are . . . different.
I recommend that you configure mailgun to send from
www.x.com so that if you decide that you want to do something with mail and
x.com in the future it won’t be complicated by it sharing the domain with Discourse.
probably not, the domain is just for forum. Also in this case I probably can just use another subdomain in the future like
I think I never saw anyone sending from
foo@www.... Tried to search
from:www in my gmail, no results.
I mean, as I understand
www is just a subdomain, maybe with some special handling in some cases because it’s commonly used.