Handleiding voor het instellen van Discourse: Hetzner VDS + Namecheap Private Email SMTP

Hallo,

Ik ben van plan een nieuw Discourse-forum op te zetten en wil graag een paar punten verduidelijken:

Server: Ik koop een VDS bij Hetzner. Welk besturingssysteem wordt aanbevolen voor Discourse?

E-mail/SMTP: Ik overweeg Namecheap Private Email te gebruiken. Zal deze SMTP-service soepel werken tijdens de Discourse-installatie?

Installatiestappen: Na de aankoop van de Hetzner VDS, kunt u mij stap-voor-stap begeleiding geven over hoe ik Discourse vanaf nul kan installeren?

Domein & IP: Moet ik na de aankoop van de VDS eerst een domeinnaam koppelen, of kan ik de installatie via het IP-adres starten en het domein later toevoegen?

Ik zal zowel de Hetzner VDS als de Namecheap e-mailservice van tevoren klaar hebben.
Elke stap-voor-stap begeleiding die geschikt is voor iemand zonder eerdere ervaring zou zeer op prijs worden gesteld.

Alvast bedankt.

Here you will find everything you are looking for regarding the installation :slight_smile:
https://github.com/discourse/discourse/blob/main/docs/INSTALL-cloud.md

3 likes

Hi!

Depends on your forum’s size and activity.

If it’s small, a CX22 for 5€/month will be fine.

A CAX11 (ARM architecture) has the same specs and price, but I find that Discourse runs even better on ARM than x86, not sure why. The drawback is that there’s no official ARM-compatible #email-receiver image, if you intend to use it. There’s a fork that works instead.

Yes, you can’t install Discourse without a domain name.

5 likes

Het ziet er misschien makkelijk uit voor jou, maar het voelt voor mij een beetje ingewikkeld.

Is het voldoende om verder te gaan met het VDS IP-adres, of is het noodzakelijk om een domeinnaam te koppelen?

Moet ik extra lege ruimte/partitie aanmaken op de VDS?

En zijn er diensten of professionals die deze installatie als een dienst kunnen leveren?

Aangezien ik nog nooit eerder een domeinnaam had gekoppeld, kon ik waarschijnlijk de installatie niet voltooien.

Ik maakte via SSH verbinding met alleen het IP-adres, maar de installatie startte niet eens.

A small forum will work with a 40 GB disk, no additional space needed.

It was the same for me when I started my Discourse journey. I never used Linux or SSH.

Providing a how-to about how to connect to your server hosted by a certain provider might be a bit out of the scope of this support forum, but anyone is free to help, of course.

When you create a server on Hetzner, you’ll have the choice between using an SSH key file or a regular login/password (it will be generated and sent by email if I remember well).

Plenty of guides on the internet will describe how to connect to a server via SSH. The goal you want to achieve is to access the server’s command line.

As for how to connect the domain to the server’s IP, it’s done through the DNS management from your domain name’s provider admin interface.

If you’re willing to pay for help, you can post in Marketplace :slight_smile:

2 likes

Ik heb het geïnstalleerd en het werkte. Bedankt voor de suggesties.

I don’t think Namecheap Private Email is a transactional mail service, and hence may not be the best way to run it with Discourse. You should look at options like Brevo, MailGun or Amazon SES.

Namecheap Private Email is niet alleen voor inbox (IMAP/POP) gebruik; het ondersteunt ook volledig veilige uitgaande SMTP-levering. In mijn Discourse-setup heb ik geconfigureerd:

  • mail.privateemail.com als de SMTP-host

  • Poort 465 / SSL

  • DISCOURSE_SMTP_ENABLE_START_TLS: false

  • DISCOURSE_SMTP_FORCE_TLS: true

en voerde vervolgens ./launcher rebuild app uit om de configuratie toe te passen.
SPF-, DKIM- en DMARC-records zijn ook volledig ingesteld via Cloudflare DNS.

Als gevolg hiervan maakt Discourse verbinding met Namecheap’s SMTP-server veilig via 465/SSL en volledig in lijn met e-mailstandaarden.
Gezien het huidige e-mailvolume is er in dit stadium geen behoefte aan een aanvullende transactionele e-maildienst zoals Mailgun, Brevo of Amazon SES.

3 likes

I’m fairly certain NameCheap Private Email isn’t a transactional mail service (I can’t find anything to say it is?). Discourse recommends a transactional mail service be used. You may encounter problems like this if you use things like NameCheap Private Email. If it works for you, then :person_shrugging:.

The transactional mail providers I suggested above are mostly free (except Amazon SES, but it’s still quite cheap). Brevo is 300/day, IIRC Mailgun is 100/day.

1 like

It might be a good idea to look if their terms of service allow using it for transactional emails :slight_smile:

If it’s not allowed, you risk being sanctioned in some way or having the emails falsely identified as spam and blocked. I speak from experience (not with NameCheap tho).

2 likes

namecheap is dood voor mij. Een tijdje geleden kreeg een oom kanker. Ik zette een instantie op om familieondersteuning te coördineren.

toen

namecheap besloot maanden later dat ik staatsidentificatiedocumenten moest uploaden.

Onze familieadvocaat zei hard NEE. Geen wetshandhaving. Geen bank. Niet de IRS.

Dus namecheap annuleerde het domein onder mijn voeten vandaan.

Ik raad gandi aan. Godaddy is anders verschrikkelijk.