เปิด wildcard subdomain ใน Cpanel

แสดงการเปิด wildcard subdomain ในโฮสติ้งที่ใช้ Cpanel การเปิด wildcard subdomain นั้น จะช่วยให้เราสามารถติดตั้ง WordPress 3 แบบ Multisite ใน sub domain ได้ หากเปิดไม่ได้ ให้สอบถามผู้ดูแลระบบ หรือหากโฮสติ้งไม่รองรับ แต่ต้องการทำ Multisite ก็ให้ติดตั้งแบบ sub-directory แทน


2 Comments

  1. ผมมีเวบหลัก คือ xxx.com (สร้าง wildcard subdomain ใน Cpanel *.xxx.com => /public_html)
    ผมสามารถทำ Multisite แบบ Sub-Domain ได้ สร้าง Site => test1.xxx.com , test2.xxx.com (สร้างได้มากเท่าที่ผมต้องการ)

    และผมมีเวบรอง คือ yyy.com (สร้าง wildcard subdomain ใน Cpanel *.yyy.com => /web/yyy.com)
    เวลา Install Multisite เกิด Error ทำให้ผมไม่สามารถใช้งาน Multisite แบบ Sub-Domain ได้

    หมายเหตุ : ผมทำแบบ Sub-Directory ได้ไม่มีปัญหา ทั้งจากเวบหลัก และ เวบรองที่ Addon Domain เข้ามา

    รบกวนขอคำชี้แนะด้วยครับ…

    ============================================================
    นี่คือ Error :
    ============================================================

    Warning! Wildcard DNS may not be configured correctly!

    The installer attempted to contact a random hostname (7b68fb.nangfasilverware.com) on your domain. This resulted in an error message: Couldn’t resolve host ‘7b68fb.nangfasilverware.com’

    To use a subdomain configuration, you must have a wildcard entry in your DNS. This usually means adding a * hostname record pointing at your web server in your DNS configuration tool.

    You can still use your site but any subdomain you create may not be accessible. If you know your DNS is correct, ignore this message.
    ============================================================

  2. ใช้ host ที่เป็น cpanel ใช่ไหมครับ ลอง add domain แล้วให้มันสร้างโฟลเดอร์ใน public_html/ แล้วไปเพิ่ม * ใน subdomain ของ addon domain ใหม่ครับ ว่ามีปัญหาหรือเปล่า จริง ๆ ผมว่าไม่น่าจะมีปัญหา แต่ก็ไม่แน่ใจว่า แต่ละโฮสต์นั้น ให้ * wildcard ได้เฉพาะโดเมนหลักหรือเปล่า เพราะว่า ยังไม่เคยทำมากกว่านี้ครับ ลองทำแล้วลองมาคุยใหม่นะครับ หรือไม่ ลองสอบถามกับทาง hosting ดูครับ

Leave a Reply

Your email address will not be published. Required fields are marked *


*