Eigen domeinnaam

From Miraheze Meta, Miraheze's central coordination wiki
This page is a translated version of the page Custom domains and the translation is 10% complete.
Outdated translations are marked like this.
Custom domains

Miraheze kan (op aanvraag) een eigen domeinnaam naar keuze (zoals wiki.jouwdomeinnaam.nl) gebruiken voor je wiki. Het enige wat je daarvoor hoeft te doen is een SSL-certificaat (verplicht; zonder SSL-certificaat geen eigen domeinnaam). We accepteren geen certificaten van WoSign. Als je de voorkeur geeft aan een gratis certificaat van Let's Encrypt moet je dit aangeven in je e-mail, aangezien wij het proces helemaal uit handen nemen. Het enige wat je moet doen is je domeinnaam aan onze servers te koppelen.

Steps

Setting up a custom domain is as easy as following 4 steps:

1.

Get a domain.

  • To set up a custom domain, you will need to get a domain. There are many reputable registrars such as Namecheap where you can purchase a domain. Don't want to pay money for a domain? Click here for free domain services.

2.

Point it to Miraheze.

  • Once you have a domain, you'll need to point it to Miraheze. You can either point the nameservers to Miraheze or set a CNAME record for the subdomain you want your wiki on pointing to mw-lb.miraheze.org.

Verander de nameservers naar "ns1.miraheze.org", "ns2.miraheze.org" en "ns3.miraheze.org" (neem contact op met je ISP indien nodig);

Voeg een CNAME toe aan het gewenste subdomein (bijv. "wiki."), en wijs het naar "mw-lb.miraheze.org";

 Note:

Als je Cloudflare voor de DNS-server gebruikt, ga dan naar de pagina Cloudflare om te zien hoe je dit moet doen.


What should I choose?

Each option has different pros and cons:

Misschien wilt u de nameserver van uw domein instellen op Miraheze. Houd er rekening mee dat alle services die met uw domein worden gebruikt, niet meer beschikbaar zullen zijn en dat u het domein dat u gebruikt niet kunt beheren.

  • If you choose to simply point a subdomain to Miraheze, you'll have complete control of your DNS records, but you'll need to manually set records yourself with your DNS provider.

3.

Choose who will provide an SSL certificate.

  • For your safety, Miraheze uses SSL/TLS to encrypt the connections from our servers to your browser to make sure no one intercepts your connection. For this reason, we require all custom domains to have an SSL certificate. You can either provide us your own SSL certificate (you would have to pay for it) or let us handle it completely (for free, via Let's Encrypt). This is the easier and Miraheze-recommended option. If you have no idea what SSL means or is, select the Let's Encrypt option.

Wanneer je wel gebruik maakt van LetsEncrypt: je hoeft niks meer te doen! De systeembeheerders zullen ervoor zorgen dat het certificaat wordt uitgegeven en geïnstalleerd.

Als u uw eigen SSL-certificaat heeft gekozen: Een systeembeheerder die uw CSR-verzoek afhandelt, genereert kort daarna een CSR & privésleutel (voor gebruik op onze eigen servers), en de gevraagde CSR wordt naar u gemaild . U gebruikt deze CSR om uw SSL-certificaatleverancier te vragen een SSL-certificaat te genereren met de CSR die we u hebben gegeven. U moet ons het gegenereerde SSL-certificaat e-mailen wanneer dit is gebeurd. Als al deze stappen zijn voltooid, zullen we het aangepaste domein aan je wiki toevoegen en zullen we je op de hoogte stellen wanneer dit allemaal is voltooid.

4.

Make the request!

  • Once you've done the steps above and have chosen who will provide the SSL certificate, make the request via RequestSSL. In the form, all you need to do is provide your wiki's current subdomain, your desired domain, and whether or not you'll use Let's Encrypt (us handling the SSL) or if you'll provide an SSL certificate yourself.
[[Special:RequestSSL|Custom domain request form (via RequestSSL)]]

Hulp nodig? Reception123, NDKilla of Southparkfan helpen je graag.

Note for CloudFlare users

CloudFlare users must turn off CloudFlare's DDoS/Origin IP protection system/workers. This is not negotiable. Vul dit formulier op Phabricator in om een CSR (of gelijk een certificaat) aan te vragen

Our IPs are already public, so we do not need Origin IP protection, and we have DDoS protection through our network vendor.

Follow the steps to find out how to disable Cloudflare DDoS/Origin IP protection system (assuming you're using the dash.cloudflare.com dashboard).

  1. Go to dash.cloudflare.com
  2. Click your domain in the dashboard.
  3. Go to "DNS".

Add CNAME entry to mw-lb.miraheze.org. The cloud with an arrow must be grey. If it is yellow, click it to make it grey.

  1. Click "Add Record". The result has to look like the last image.

If you are done with this, continue back on the steps above.

 Note: Not following the rules above will result in your custom domain being removed immediately and further action being taken if necessary. In case of any doubt, feel free to contact us at sre@miraheze.org or ask on the Phorge task you create.

Cloudflare dashboard
Cloudflare dashboard
Domain section.
Domain section
Your entry should look like this!
Your entry should look like this!

FAQ

Gratis (sub)domeinen

Als u niet voor een eigen domein wilt betalen, zijn er diensten die gratis subdomeinen aanbieden, die u in plaats daarvan kunt gebruiken. Merk op dat Miraheze-wiki's automatisch een gratis subdomein van miraheze.org krijgen, dus het gebruik van een service van derden is alleen nodig als je de voorkeur geeft aan iets anders (bijvoorbeeld een service met een heel kort of gemakkelijk te spellen domein op het tweede niveau).

Beschikbare websites:

FreeDNS example

Sign up with FreeDNS and log in. On the left side, click 'Registry' to select a domain (e.g., mine.bz). This will take you to a small form to fill in. Please avoid using a us.to domain, as it is impossible to generate a Let's Encrypt certificate for these. Add a subdomain (keep trying until you find an available one, e.g., mario). Select 'CNAME' for the type. In the destination field, enter mw-lb.miraheze.org, solve the captcha, and click the save button.

FreeDNS example setup
FreeDNS example setup.

Then follow the above step 4. Make the request!.

URL-structuur

Miraheze is configured not to serve pages from the domain root. For example, if your wiki is example.miraheze.org and its main page is called "Welcome", then the URL will not be https://example.miraheze.org/Welcome but instead https://example.miraheze.org/wiki/Welcome (note the /wiki/ piece). Likewise, even if you use a custom domain, Miraheze will still serve pages with this URL structure. When users visit pages on the root (e.g., without the /wiki/), they'll be greeted by a page asking them if they meant to go to a page on the /wiki/ subdirectory and will provide them a link.

SSL Certificate Authority

Miraheze accepteert de meeste SSL-certificaatautoriteiten die worden geaccepteerd door browsers zoals Mozilla Firefox. We accepteren echter geen WoSign-certificaten meer.

Huidige autoriteiten in gebruik voor eigen domeinnamen

Hieronder staat een lijst van certificaatautoriteiten die op dit moment wordt gebruikt voor eigen domeinnamen. Dat betekent echter niet dat andere autoriteiten niet worden geaccepteerd.

  • Let's Encrypt - beheerd door Miraheze, worden alle stappen met betrekking tot Let's Encrypt (behalve het instellen van nameservers) gedaan door Miraheze Sysadmins.
  • Comodo
  • Gandi
  • GeoTrust
  • GlobalSign
  • GoDaddy
  • RapidSSL