Domeny niestandardowe

This page is a translated version of the page Custom domains and the translation is 2% complete.
Outdated translations are marked like this.
Custom domains

Miraheze może udostępniać wiki na żądanie w domenach niestandardowych (takich jak wiki.example.org). Jedyne, czego potrzebujemy, to wykonanie poniższych kroków i posiadanie certyfikatu SSL dla swojej wiki (bez certyfikatu SSL → bez domeny niestandardowej). Możesz użyć własnego certyfikatu SSL (patrz poniżej) lub my możemy utworzyć go dla Ciebie za pomocą Let's Encrypt, który jest procesem całkowicie obsługiwanym przez nas, bez interwencji/dodatkowego działania z Twojej strony, innego niż przekierowanie domeny na nasz serwer (więc jest to łatwiejsze).

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.

Zmień serwery nazw na "ns1.miraheze.org" i "ns2.miraheze.org" (skontaktuj się z rejestratorem swojej domeny jeśli nie wiesz jak to zrobić);

Dodaj CNAME do wybranej subdomeny (np. „wiki.”) i przekieruj ją na „mw-lb.miraheze.org”;

 Note:

Jeśli używasz Cloudflare dla serwera DNS, odwiedź stronę https://meta.miraheze.org/wiki/Custom_domains/Cloudflare aby dowiedzieć się jak to zrobić.


What should I choose?

Each option has different pros and cons:

Możesz skonfigurować serwer nazw domen na Miraheze. Pamiętaj, że wtedy wszelkie usługi przypisane do Twojej domeny staną się niedostępne i nie będziesz mógł kontrolować domeny z której korzystasz.

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

Jeśli wybrałeś wariant polegający na stworzeniu go przez nas (Let's Encrypt): Nie masz już nic do zrobienia! Administrator systemu zajmie się wszystkimi pozostałymi krokami, włącznie z ich odnowieniem.

Jeśli wybrałeś swój własny certyfikat SSL: Administrator systemu przetwarzający Twoje żądanie CSR, wkrótce po wygenerowaniu CSR i klucza prywatnego (do użytku na naszych serwerach) oba powyższe wyśle do Ciebie e-mailem. CSR, który Ci prześlemy posłuży Ci do wygenerowania certyfikatu SSL w panelu Twojego rejestratora domeny. Uzyskany SSL należy wysłać do nas drogą mailową. Kiedy wszystkie te kroki zostaną wykonane, dodamy do Twojej wiki domenę niestandardową i powiadomimy Cię o zakończeniu procesu.

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)]]

Potrzebujesz pomocy przy którymś z kroków bądź masz pytanie? Reception123 lub Paladox mogą Ci pomóc.

Note for CloudFlare users

CloudFlare users must turn off CloudFlare's DDoS/Origin IP protection system/workers. This is not negotiable. Wyślij [$phabreq prośbę o Phabricator używając tego formularza], aby zawnioskować o podpisanie certyfikatu u obsługi klienta (i załączyć swój certyfikat).

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 tech miraheze.org or ask on the Phorge task you create.

 
Cloudflare dashboard
 
Domain section
 
Your entry should look like this!

FAQ

What services can I use to get a free domain?

If you don't wish to pay for a domain of your own, there are services that offer free domains and subdomains which you can use instead. Remember that all Miraheze wikis automatically get a free subdomain on miraheze.org and search engine ranking benefits from Miraheze's domain authority.

Free (sub)domain providers:

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.

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

Can I change the URL structure?

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.

What SSL certificate authorities do you accept?

Miraheze accepts most SSL certificate authority that are accepted by browsers such as Mozilla Firefox. However, we do not accept WoSign certs anymore.

Current authority used by Miraheze custom domains

Below is a list of the current SSL certificate authority used by custom domains. This does not mean that others not in this list are not accepted.

  • Let's Encrypt - managed by Miraheze, all steps regarding Let's Encrypt (except setting nameservers) are done by Miraheze system administrators
  • Comodo
  • Gandi
  • GeoTrust
  • GlobalSign
  • GoDaddy
  • RapidSSL