The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

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

  1. cLub2Share

    cLub2Share Well-Known Member

    Joined:
    Oct 4, 2003
    Messages:
    114
    Likes Received:
    0
    Trophy Points:
    16
    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 :)
     
  2. DigitalSurgeon

    DigitalSurgeon Well-Known Member

    Joined:
    Aug 13, 2005
    Messages:
    134
    Likes Received:
    0
    Trophy Points:
    16
    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