Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

how to setup a wildcard map via the dns editor for a domain

Discussion in 'Bind/DNS/Nameserver' started by cLub2Share, Nov 20, 2005.

  1. cLub2Share

    cLub2Share Well-Known Member

    Joined:
    Oct 4, 2003
    Messages:
    114
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    united Arab Emirates
    cPanel Access Level:
    Website Owner
    Twitter:
    how to setup a wildcard map via the dns editor for a domain so that any subdomain resolves to the server.

    Please help with this

    Thankyou :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. DigitalSurgeon

    DigitalSurgeon Well-Known Member

    Joined:
    Aug 13, 2005
    Messages:
    134
    Likes Received:
    0
    Trophy Points:
    166
    Edit the DNS zone file and add the below mentioned DNS A entry in it :

    * 14400 A 192.168.0.1

    OR

    *.domain.com. 14400 A 192.168.0.1


    Also you have to add ServerAlias in the VirtualHost section of the domain in httpd.conf :

    ServerAlias *.domain.com
     
    #2 DigitalSurgeon, Nov 21, 2005
    Last edited: Nov 21, 2005
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice