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.

Problem with wildcard subdomain

Discussion in 'Bind / DNS / Nameserver Issues' started by alecgonzalezsdb, Oct 15, 2014.

  1. alecgonzalezsdb

    alecgonzalezsdb Registered

    Joined:
    Oct 15, 2014
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi all,

    When I add a wildcard subdomain in an account it doesn't work, it keeps redirecting to something like http://test.example.com/cgi-sys/defaultwebpage.cgi

    I created an include file for that domain in the httpd.conf with one line: "ServerAlias *.example.com". I had to delete the wildcard subdomain from the cpanel account and create the DNS record manually and now it's working. But I would like to be able to just create the wildcard subdomain from the cpanel, if it is needed in another account in the future. Can anyone tell me if I'm doing something wrong? Or how can I have the desired functionality? I'm not the most advanced user, but I don't mind researching and self teaching, so any clue or tip would be great. Thanks in advance, any help is appreciated.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    You may want to try clearing the DNS and browser cache on your workstation after adding the entry in cPanel. It should work when added through the interface and you should not have to configure the record manually.

    Thank you.
     
  3. alecgonzalezsdb

    alecgonzalezsdb Registered

    Joined:
    Oct 15, 2014
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi, thanks for your answer, I did it, I even tried with random subdomains, and it just didn't work.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Feel free to open a support ticket using the link in my signature so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
Loading...

Share This Page