النطاقات المخصصة
يمكن لـMiraheze إنشاء ويكيات على نطاقات مخصصة (مثل wiki.example.org) حسب الطلب، ما نحتاجه منك هو اتباع الخطوات التالية، بالإضافة إلى شهادة SSL لأجل الويكي الخاص بك (لا شهادة SSL -> لا نطاق مخصص). يمكنك استخدام شهادتك الخاصة (انظر للأسفل) أو ننشئ لك واحدة من باستخدام Let's Encrypt، وهي عملية تتم من خلالنا بشكل كامل دون تدخل/إضافة منك غير ربط نطاقك إلى خوادمنا (لذا فهي الطريقة أسهل).
Steps
Setting up a custom domain is as easy as following 4 steps:
Get a domain.
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.
قم بتغيير خوادم الأسماء إلى "ns1.miraheze.org" و "ns2.miraheze.org" (قم بالتواصل مع مسجل نطاقك إذا كنت لا تعرف كيفية تغييرها)؛
أضف سجل اسم (CNAME) على النطاق الفرعي الذي ستستخدمه (مثال: "wiki.")، وقم بتحديده إلى "mw-lb.miraheze.org"؛
Note:
إذا كنت تستخدم Cloudflare كخادم DNS، فيرجى زيارة صفحة Cloudflare لمعرفة الطريقة.
- What should I choose?
Each option has different pros and cons:
سوف تحتاج إلى إعداد خادم اسم (nameserver) لنطاقك لـMirahez. كن على علم بأن الخدمات المستخدمة في نطاقك ستصبح غير متاحة، ولن تتمكن من التحكم في نطاقك بعدها.
- 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.
إذا اخترت طلب إنشاء واحدة من طرفنا (Let's Encrypt): فليس هناك شيء متبقي لتفعله، فمدير النظام سيتكفل بباقي الخطوات، من ضمنها تجديدها.
إذا اخترت استخدام شهادتك الخاصة: فسيقوم مدير النظام المسؤول عن طلبك للـCSR (طلبات خدمة العملاء) بإرسالها إليك عبر البريد الإلكتروني بعد أن يتم إنشاء الـCSR و المفتاح الخاص (لاستخدامها على خوادمك الخاصة). بإمكانك استخدام الـCSR لطلب مورِّدك للشهادات بإنشاء شهادة SSL الخاصة بك. عندما تكتمل ستحتاج إلى إرسال الشهادة التي أنشأتها عبر البريد الإلكتروني. إذا أكملت هذه الخطوات، سنقوم بإضافة نطاقك المخصص إلى الويكي الخاص بك، وسنعلمك في حال إكمال جميع هذه الخطوات.
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.
تحتاج لمساعدة في هذه الخطوات؟ بإمكان Reception123 أو Paladox مساعدتك.
Note for CloudFlare users
This section documents a technical policy. This policy follows consensus and/or guidelines set by members of Site Reliability Engineering. All SRE members, or, where applicable in technical matters, users, should follow this policy. Suggestions should be made on the talk page. |
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).
- Go to dash.cloudflare.com
- Click your domain in the dashboard.
- 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.
- 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
miraheze.org or ask on the Phabricator task you create.
FAQ
نطاقات فرعية مجانية
إذا لم تكن ترغب في دفع تكاليف نطاقك الخاص، هناك مواقع تقدم خدمة النطاق الفرعي المجاني، يمكنك استخدامها بدلاً منه. لاحظ أن ويكيات ميراهيز تحصل تلقائيًّا على نطاق فرعي مجاني من النطاق miraheze.org. لذا فاستخدام خدمة طرف ثالث تكون ضرورية في حال أردت استخدام اسم مختلف (مثل خدمة تقدم اسم أقصر أو نطق أسهل من نطاقات الدرجة الثانية).
المواقع المتاحة
هيكلة عنوان 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.
الهيئات المصدرة لشهادات SSL
Miraheze تقبل أغلب الهيئات المصدرة لشهادات SSL التي تدعم متصفحات مثل موزيلا فايرفكس. وكما ذكرنا سابقًا، نحن لا نقبل شهادات WoSign بعد الآن.
الهيئات المستخدمة حاليًّا من قبل Miraheze للنطاقات المخصصة
في القائمة التالية عدد من الهيئات المصدرة لشهادات SSL المستخدمة للنطاقات المخصصة، هذا لا يعني أن الغير مذكور هنا غير مدعوم.
- Let's Encrypt - تدار بواسطة Miraheze، جميع الخطوات المتعلقة بـLet's Encrypt (ما عدا إعداد خوادم الأسماء nameservers) قد تمت بواسطة إدارة موقع Miraheze.
- Comodo
- Gandi
- GeoTrust
- GlobalSign
- GoDaddy
- RapidSSL