I didn’t understand the following: Please note that in any email provider, you must verify and use the subdomain, e.g. discourse.example.com. If you verify the domain only, e.g. example.com, mail will not be configured correctly.
Also something very important, if I make a subdomain called discourse.mydomain.com, I will not be able to make an email like the following postmaster@discourse.mydomain.com because email should be associated to the domain name not the subdomain.
I asked that, as sparkpost.com ask to verify the account during the sign up process.
SparkPost performs a verification step that requires you to create a specialized TXT and SPF record, once that is done, they will gladly send out emails on behalf of the given domain.
In fact, what I don’t understand in the following explications, many points:
1: Why I should install Discourse here ( /var/discourse ) and in fact the subdomain is here ( /var/www/vhosts/beginfromhere.com/f.beginfromhere.com)
2: again I didn’t and it is still not clear why I should use the subdomain, so as I mentioned above,
the subdomain is f.beginfromhere.com and If I use ot with SparkPost, they will ask me to VALID that I’m the owner of this subdomain, this is mean they ask me to receive an email to the following email address postmaster@f.beginfromhere.com and this is not possible for me to create an email for a subdomain.
You are missing the fact that Discourse runs in Docker, and thus /var/discourse is the suggested location to install the docker container.
The subdomain install happens to be the easiest way to install Discourse. You can install it in a sub-folder, but that is a more complex installation, instructions at
I think if you create the SPF/TXT records, it may not be necessary to receive an email to that email address, however, you should be able to create a forwarding email address for all *@f.beginfromhere.com to go to postmaster@beginfromhere.com through your domain registrar or your email provider of choice…
Edited: Removed all of the cruft that was completely off topic and pointless to this discussion.