-
أرجو المساعدة في تشغيل Wildcard DNS
سلام شباب انا عندي الشرح انجليزي كامل ولكن انا مو خبير سرفر انا مبرمج لا اكثر و ابغى افعل Wildcard DNS on CPanel Servers في السرفر
أرجو احد يشرح ليه بالصور على سرفره لو تكرمتوا .
هي عبارة عن تفعيل الدومينات الفرعيه مثال التالى :
http://www.domain.com
http://sub.domain.com
http://whatever.domain.com
http://something.domain.com
http://anything.domain.com
الطريقة بالانجليزي :
الموفع مع الشرح
Login to WHM
Click on Edit DNS Zone on the side navigation.
Choose the domain to edit, and click on the Edit button.
Under Add New Entries Below this Line add this:
Domain: *
TTL: 14400 (this is the default value)
Record Type: A in (your IP address)
Submit and this will now be added.
Access your httpd.conf file. Login as root, via SSH.
To access the file in a CPanel server go to:
# cd /etc/httpd/conf/
Use your favorite text editor, or just simply type:
# pico httpd.conf
Do a find on your domain and you may find something like this:
<VirtualHost ip.ip.ip.ip>
ServerAlias yourdomainserver.com
ServerAdmin webmaster@yourdomainserver.com
DocumentRoot /home/yourdoma/public_html
BytesLog domlogs/yourdomainserver.com-bytes_log
ServerName www.yourdomainserver.com
User yourdoma
Group yourdoma
CustomLog /usr/local/apache/domlogs/yourdomainserver.com combined
ScriptAlias /cgi-bin/ /home/yourdoma/public_html/cgi-bin/
</VirtualHost>
On the line:
ServerAlias yourdomainserver.com
Change to:
ServerAlias: *.yourdomainserver.com yourdomainserver.com
Exit or press Ctrl X if using Pico.
Save the file when asked and replace the existing file.
Restart the apache web server by typing in:
# service httpd restart
-
-
بس حط * بالدي ان اس و الhttpd.conf للدومين اللي تبيه
ضوابط المشاركة
- لا تستطيع إضافة مواضيع جديدة
- لا تستطيع الرد على المواضيع
- لا تستطيع إرفاق ملفات
- لا تستطيع تعديل مشاركاتك
-
قوانين المنتدى
أضف موقعك هنا|
اخبار السيارات |
حراج |
شقق للايجار في الكويت |
بيوت للبيع في الكويت |
دليل الكويت العقاري |
مقروء |
شركة كشف تسربات المياه |
شركة عزل اسطح بالرياض |
عزل فوم بالرياض|
عزل اسطح بالرياض |
كشف تسربات المياة بالرياض |
شركة عزل اسطح بالرياض