Custom domains/zh-tw

你可以對Miraheze提出自訂網域名的申請（網址像wiki.example.org）. 為此，您需要根據以下步驟，並且準備好一個SSL憑證給你的維基（沒有SSL憑證→無法自訂網址）. 你可以使用自己的SSL憑證或者由我們用[$LE Let's Encrypt]替你建立（後者是個比較簡單的作法，使用Let's Encrypt的話，能夠完全處理其他設定流程，你就不需要再做其他的事）：

Steps
Setting up a domain is easy, simply follow the steps below: 將伺服器名改為「ns1.miraheze.org」和「ns2.miraheze.org」(如果你不知道該怎麼做，請聯繫你的域名註冊商) 給想要的子域名（例如「wiki.」）添加CNAME，然後指向"mw-lb.miraheze.org"； 如果你想為自己的DNS伺服器使用Cloudflare，請參見Cloudflare查看如何使用.
 * Get a domain. To setup 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.
 * Point it to Miraheze. Once you have a domain, you'll need to point it to Miraheze. You can either point the namespace servers to Miraheze or set a CNAME record for the subdomain you want your wiki on pointing to mw-lb.miraheze.org.

Each option has different pros and cons: 你可能希望將自己網域名的nameserver設成指向Miraheze的網域名. 請注意這樣做的話，任何與你的網域有關的服務都將無法使用，而你也無法控制使用中的網域.
 * What should I choose?
 * 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.

如果是 Let's Encrypt：那你就沒其他事要做了，系統管理員會注意其餘的所有(包含更新的)步驟. Custom domain request form (via Phabricator)
 * 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 need all custom domains to have an SSL certificate. You can either provide us your own SSL certificate or let us handle it completely (for free, via Let's Encrypt).
 * If you have chose your own SSL certificate: After you make your custom domain request, a system administrator who handles CSR requests will generate a CSR & private key (for use at our own servers), and the requested CSR will be emailed to you. You use this CSR to request your SSL certificate vendor to generate an SSL certificate with the CSR we gave you. You will need to email us the generated SSL certificate when this is done. If all of these steps are done, we will add the custom domain to your wiki, and we will notify you when this all is done.
 * If you have chose your own SSL certificate: After you make your custom domain request, a system administrator who handles CSR requests will generate a CSR & private key (for use at our own servers), and the requested CSR will be emailed to you. You use this CSR to request your SSL certificate vendor to generate an SSL certificate with the CSR we gave you. You will need to email us the generated SSL certificate when this is done. If all of these steps are done, we will add the custom domain to your wiki, and we will notify you when this all is done.
 * 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.

在步驟實行上需要幫助嗎？抑或你有其他問題？Reception123和NDKilla都能幫助你.

免費網域
你可以用任何想要的網域註冊免費子網域(只要你在網站上擁有網域的話)來取代Miraheze的網域. 有些網域名非常短，你可以在你的維基使用最完整的網域名.

可用的網站：


 * FreeDNS
 * Freenom

URL structure
Miraheze is configured not to serve pages from the domain root, for example, if your wiki is, and its main page is called "Welcome", then the URL will not be  , but instead   (note the   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 ), 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.

CloudFlare


CloudFlare users must turn off CloudFlare's DDoS/Origin IP protection system/workers. 填寫Phabricator的 這個表單來申請CSR（或直接申請憑證） 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).

Add  entry to. The cloud with an array must be grey color. If it is yellow, click it to make it grey. Click "Add Record". The result have to look like the last image.
 * 1) Go to dash.cloudflare.com
 * 2) Click your domain in the dashboard.
 * 3) Go to "DNS".

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

Please note that not following the rules detailed may result in your custom domain being removed immediately and further action if necessary. In case of any doubt, feel free to contact us at tech@undefinedmiraheze.org or ask on the Phabricator task you create.

SSL 憑證管理
Miraheze接受大部份瀏覽器接受的SSL憑證管理. 然而，我們永遠不接受WoSign的憑證.

Miraheze目前自制網域使用的憑證管理.
下表為目前自製網域名使用的SSL憑證管理. 不過不代表我們不接受其他未列於下表的憑證.


 * Let's Encrypt - 由Miraheze管理，Miraheze的系統管理員會幫忙完成(除設置nameservers外的)所有Let's Encrypt相關程序.
 * CloudFlare (Note: Additional restrictions apply. Click the link for details.)
 * Comodo
 * Gandi
 * GeoTrust
 * GlobalSign
 * GoDaddy
 * RapidSSL