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.

DNS Wildcard

Discussion in 'Bind / DNS / Nameserver Issues' started by Steven_K, Nov 22, 2003.

  1. Steven_K

    Steven_K Member

    Joined:
    Jun 14, 2003
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK
    I need to setup DNS wildcard on a domain name but I can't get it to work.

    I have edited the DNS entry:

    * 14400 IN A IP.IP.IP.IP

    I have edited the ServerAlias:

    ServerAlias *.mydomain.com

    I have restarted named and httpd

    Still doesn't work though. Any help please??? Thx.
     
  2. Steven_K

    Steven_K Member

    Joined:
    Jun 14, 2003
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK
  3. jsteel

    jsteel Well-Known Member

    Joined:
    Jul 4, 2002
    Messages:
    646
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Atlanta, GA
    We were about to do the same for a customer. We'd love to know if this actually won't work before we go through the trouble.
     
  4. Steven_K

    Steven_K Member

    Joined:
    Jun 14, 2003
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK
    What I posted above never worked for me. I checked over and over to make sure it was right. I also tried putting *.domain.com instead of just * but still it wouldn't work.

    From what I can see, I've done everything right.
     
  5. jsteel

    jsteel Well-Known Member

    Joined:
    Jul 4, 2002
    Messages:
    646
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Atlanta, GA
    We went ahead and did it and it worked fine. cPanel already puts the *.domain.tld entry on the ServerAlias line in the httpd.conf, so all we had to do was add the wildcard DNS entry to the zone file. After doing so, everything worked as expected.
     
Loading...

Share This Page