Vlastní domény

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

Miraheze může poskytovat na žádost wiki na vlastních doménách (například wiki.priklad.org). Jediná věc, kterou musíte udělat, je následovat kroky níže, a mít pro vaši wiki SSL certifikát (žádný SSL certifikát → žádná vlastní doména). Můžete buď použít vlastní SSL certifikát (viz níže) nebo vám jej můžeme vytvořit my pomocí Let's Encrypt, což je proces, který zvládneme sami bez zásahu / dodatečné práce od vás mimo nasměrování domény na náš server (aby to bylo jednodušší).

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.

Změňte jmenné servery na „ns1.miraheze.org“ a „ns2.miraheze.org“ (pokud nevíte, jak na to, kontaktujte svého registrátora domény);

Přidejte CNAME na subdoménu, kterou chcete (např. "wiki"), a nasměrujte ji na "mw-lb.miraheze.org";

 Note:

Pokud používáte Cloudflare jako DNS server, navštivte prosím stránku Cloudflare níže pro návod, jak to udělat.


What should I choose?

Each option has different pros and cons:

Možná budete chtít nastavit jmenný server své domény na Miraheze. Uvědomte si, že všechny služby používané s vaší doménou budou nedostupné a nebudete moci ovládat doménu, kterou používáte.

  • 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.

Pokud jste si vybrali možnost, že ji vytvoříme (Let's Encrypt): Nezbývá vám nic jiného! O všechny zbývající kroky, včetně jejich obnovení, se postará správce systému.

Pokud jste si vybrali vlastní certifikát SSL: Správce systému, který zpracovává váš požadavek CSR, krátce po vygenerování CSR a soukromého klíče (pro použití na našich vlastních serverech) a požadovaný CSR vám bude zaslán e -mailem. Tuto CSR použijete k vyžádání dodavatele certifikátu SSL ke generování certifikátu SSL pomocí CSR, který jsme vám dali. Až to bude hotové, budete nám muset vygenerovaný certifikát SSL zaslat e -mailem. Pokud jsou všechny tyto kroky provedeny, přidáme vlastní doménu do vaší wiki a upozorníme vás, až bude vše hotovo.

4.

Make the request!

  • Once you've done the steps above and have chosen who will provide the SSL certificate, make the request on Phabricator. 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.
[[phab:maniphest/task/edit/form/14/|Custom domain request form (via Phabricator)]]

Potřebujete pomoc s některým z kroků nebo máte dotaz? Reception123 vám může pomoci.

Note for CloudFlare users

CloudFlare dashboard
Domain section.
Your entry should look like this!
CloudFlare users must turn off CloudFlare's DDoS/Origin IP protection system/workers. This is not negotiable. With it enabled, Miraheze cannot process SSL certificate requests, and it creates problems with our internal systems, including security issues.

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(at)miraheze.org or ask on the Phabricator task you create.

FAQ

Zdarma subdomény

Pokud si nepřejete platit za vlastní doménu, existují služby, které nabízejí bezplatné subdomény, které můžete místo toho použít. Všimněte si, že wiki Miraheze automaticky získává bezplatnou subdoménu miraheze.org, takže použití služby třetí strany je nutné pouze tehdy, pokud dáváte přednost něčemu jinému (např. Služba, která má velmi krátkou nebo snadno hláskovatelnou doménu druhé úrovně).

Dostupné stránky:

Struktura URL

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.

Certifikační Autorita SSL

Miraheze přijímá většinu certifikačních autorit SSL, které jsou akceptovány prohlížeči, jako je Mozilla Firefox. Certifikáty WoSign však již nepřijímáme.

Aktuální oprávnění používané vlastními doménami Miraheze

Níže je uveden seznam aktuální certifikační autority SSL používané vlastními doménami. To neznamená, že ostatní, kteří nejsou v tomto seznamu, nebudou přijati.

  • Let's Encrypt - řízena Miraheze všechny kroky týkající se Pojďme zašifrovat (kromě nastavení nameservery) se provádí Miraheze administrátoři
  • Comodo
  • Gandi
  • GeoTrust
  • GlobalSign
  • GoDaddy
  • RapidSSL