Custom domains/zh-cn

Miraheze可以应要求在自定义域（例如wiki.example.org）上提供Wiki. 我们唯一需要您做的就是遵循以下步骤，并为您的Wiki申请一个SSL证书（没有SSL证书→没有自定义域）. 您可以使用自己的SSL证书（请参阅下文），也可以使用Let's Encrypt为您创建一个SSL证书，这是我们完全处理的过程，除了将域指向我们的服务器之外，无需您进行其他任何干预/其他工作（因此更容易）.

Steps
Setting up a domain is easy, simply follow the steps below: 将域名服务器更改为ns1.miraheze.org和ns2.miraheze.org（如果您不知道如何操作，请联系您的域名注册商）； 为您的子域名添加CNAME记录（比如:wiki），将其指向mw-lb.miraheze.org 如果您将Cloudflare作为DNS服务器，请浏览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: 您也可以将您的域名服务器设置到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）:您无需再进行任何操作！系统管理员会完成步骤，包括续签证书. 如果您选择了自己的SSL证书：处理您的CSR请求的系统管理员将在生成CSR和私钥（供我们自己的服务器使用）后不久，并将通过电子邮件将请求的CSR发送给您. 您使用此CSR请求SSL证书供应商使用我们提供给您的CSR生成SSL证书. 完成后，您需要通过电子邮件将生成的SSL证书发送给我们. 如果完成所有这些步骤，我们会将自定义域添加到您的Wiki，并在完成所有操作时通知您. 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).
 * 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或是Paladox很乐意帮助您.

免费子域名
如果您不想为自己的域名付费，则可以使用提供免费子域名的服务，而您可以使用这些子域名. 请注意，Miraheze Wiki会自动获得miraheze.org的免费子域名，因此只有在您更喜欢其他内容时（例如，具有非常短或容易拼写的第二级域名的服务），才需要使用第三方服务.

可用站点

URL结构
请注意，Miraheze配置为不从域根目录提供页面. 例如. 如果您的Wiki是 ，并且其主页称为“欢迎”，则URL将不会是 ，而是 （请注意 部分）. 同样，即使您使用自定义域，Miraheze仍将使用此URL结构来提供页面. 因此，如果您控制 并要求您的Miraheze Wiki使用自定义域，例如 ，那么您的“欢迎”页面将拥有URL.

CloudFlare


CloudFlare users must turn off CloudFlare's DDoS/Origin IP protection system/workers. 使用此表单提交[$phabreq 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证书颁发机构（如Mozilla Firefox所认可的SSL证书颁发机构）. 但是，我们不再接受沃通的证书.

Miraheze接受的SSL证书颁发机构
以下是Miraheze当前接受的SSL证书颁发机构的列表. 这并不意味着我们不接受此列表之外的其他SSL证书颁发机构.


 * Let's Encrypt - 由Miraheze管理，有关 Let's Encrypt SSL证书设置的所有步骤（设置名称服务器除外）均由Miraheze Sysadmins完成.
 * CloudFlare (Note: Additional restrictions apply. Click the link for details.)
 * Comodo
 * Gandi
 * GeoTrust
 * GlobalSign
 * GoDaddy
 * RapidSSL