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.

Wildcarded DNS

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

  1. abusedreality

    abusedreality Well-Known Member

    Joined:
    Apr 15, 2003
    Messages:
    54
    Likes Received:
    0
    Trophy Points:
    6
    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:
    6
    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:
    36
    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.
     
Loading...

Share This Page