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.

Wildcard Subdomain Directs To Default Page

Discussion in 'Bind / DNS / Nameserver Issues' started by Mike Flanagan, Sep 11, 2016.

  1. Mike Flanagan

    Mike Flanagan Registered

    Joined:
    Feb 20, 2015
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Telford, United Kingdom
    cPanel Access Level:
    Root Administrator
    I have just configured a wildcard subdomain on an account on my WHM/cPanel server.

    It works fine from a local subdomain, ie:

    *.{domain} -> app.{domain}

    But if I try to set up a CNAME from an external domain, like below, I just get the default page:

    *.{externaldomain} CNAME -> app.{domain}

    I belive this is something to do with the VirtualHost but, as far as I can tell, I can't edit that manually as any cPanel/WHM updates will overwrite it?

    How can I achieve this? Is it even possible?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,762
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    Are you able to setup the wildcard subdomain entry via the "Subdomains" option in cPanel? If so, that should configure the proper Apache entries and allow you to make the DNS modifications manually on the DNS host for that subdomain.

    Thank you.
     
Loading...

Share This Page