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!

Wildcarded DNS

Discussion in 'Bind/DNS/Nameserver' started by abusedreality, Jun 16, 2003.

  1. abusedreality

    abusedreality Well-Known Member

    Joined:
    Apr 15, 2003
    Messages:
    54
    Likes Received:
    0
    Trophy Points:
    156
    Hello,

    I have just been trying to add a wildcard dns for mlmportalen.com

    So I went into whm and did the following

    Dns Functions - Edit a Dns zone

    Added

    Domain *.mlmportalen.com. TTL 14400 Record Type Cname and to 216.67.228.87

    Then I edited apache and added *.mImportalen.com and restarted bind

    Then my customer created a admin folder. Then I looked at

    http://admin.mlmportalen.com/

    And well take a look at yourself,

    Cheers

    cPanel.net Support Ticket Number:
     
    #1 abusedreality, Jun 16, 2003
    Last edited: Jun 16, 2003
  2. abusedreality

    abusedreality Well-Known Member

    Joined:
    Apr 15, 2003
    Messages:
    54
    Likes Received:
    0
    Trophy Points:
    156
    Yah Helpful reply ;-)

    So is it set up right?

    cPanel.net Support Ticket Number:
     
  3. ciphervendor

    ciphervendor Well-Known Member

    Joined:
    Aug 26, 2002
    Messages:
    1,052
    Likes Received:
    0
    Trophy Points:
    166
    vi /var/named/domain.com.db
    add: * 14400 IN A IP_address
    edit: the serial number, increase the last number by one.
    Save & close. :wq

    Restart named. service named restart

    vi /etc/httpd/conf/httpd.conf
    find: original virtual host entry
    add: serveralias *.domain.com
    Save & Close. :wq

    Restart apache. httpd restart

    You will probably have to wait for DNS propagation.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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