Custom domains/fa

Miraheze lets you use a custom domain for your wiki. Instead of having to use mywiki.miraheze.org (a subdomain of miraheze.org), you can use your own domain (e.g. mywiki.com, wiki.domain.com, etc.). Read the steps below for more information.

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. نام سرورها را به «ns1.miraheze.org» و «ns2.miraheze.org» تغییر دهید (اگر نمی‌دانید این کار را چگونه انجام دهید، با ثبت‌کنندۀ دامنۀ خود تماس بگیرید) یک رکورد CNAME با زیردامنه‌ای که می‌خواهید (مانند «.wiki») بسازید و آن‌را به «mw-lb.miraheze.org» اشاره بدهید؛
 * 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.

اگر شما از کلودفلیر برای سرور دی‌ان‌اس استفاده می‌کنید، لطفا برگۀ کلودفلیر را برای چگونگی انجام آن ببینید.

Each option has different pros and cons: If you do choose to point the nameservers to us, we can handle all things related to DNS without needing your intervention. However, if you choose to do this, you'll need to ask us to create new DNS records every time you need to add a new one. If you change your nameservers and have records set already (e.g. you have www. pointing to your website), you'll need to ask us to recreate them or else your subdomains will be unreachable once you change the nameservers. If you don't plan to make frequent changes to the DNS records or are fine with us handling it for you, choose this.
 *  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 with your DNS provider.

3. Choose who will provide an SSL certificate. If you choose to let us handle it: We can generate an SSL certificate (using Let's Encrypt) ourselves and even renew it automatically for the subdomain you chose without needing any additional intervention from your part, your work is done! If you have chosen 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. 4. Make the request! Custom domain request form (via Phabricator)
 * 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.
 * 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 می‌توانند به شما کمک کنند.

Note for CloudFlare users


CloudFlare users must turn off CloudFlare's DDoS/Origin IP protection system/workers. This is not negotiable. [$phabreq این فرم] را در فابریکیتور برای درخواست یک سی‌اس‌آر (یا مستقیماً یک گواهینامه) پر کنید 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 arrow must be grey. If it is yellow, click it to make it grey.
 * 1) Go to dash.cloudflare.com
 * 2) Click your domain in the dashboard.
 * 3) Go to "DNS".


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

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@undefinedmiraheze.org or ask on the Phabricator task you create.

دامنه‌های رایگان
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.

تارنماهای دردسترس

Can I change the 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.

مرجع صدور گواهینامۀ اس‌اس‌ال
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
 * CloudFlare (Note: Additional restrictions apply. See section above for details.)
 * Comodo
 * Gandi
 * GeoTrust
 * GlobalSign
 * GoDaddy
 * RapidSSL