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!

Subdomain Main Account Issue

Discussion in 'Bind/DNS/Nameserver' started by James.Simpson, Oct 18, 2016.

Tags:
  1. James.Simpson

    James.Simpson Member

    Joined:
    Feb 18, 2013
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    United Kingdom
    cPanel Access Level:
    Root Administrator
    So I've done this loads of times before on different servers, but this one is strange.

    I've created a main account for a subdomain, but when I visit the subdomain, I am just redirected to the first account on the server.

    subdomain.domain.com

    DNS is done exteranally, and I've pointed the subdomain a-record to the server, which seems to work, as its displaying a website on the server.... but not showing the right website.

    I can see the virtualhost fine in the http.conf file, so not sure why its loading the first. Like I say, I've done this a number of times on other servers with WHM without any issues, it just works, but this one is strange.

    I even tried deleting it and creating it again, and even created subdomain2.domain.com just to check, and they all do the same thing.

    Has anyone seen anything like this before?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. James.Simpson

    James.Simpson Member

    Joined:
    Feb 18, 2013
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    United Kingdom
    cPanel Access Level:
    Root Administrator
    Well ive managed to figure out what it was - someone had the shared IP address set to the wrong IP address - updated this and it all works now
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPLevey

    cPLevey Technical Analyst Supervisor
    Staff Member

    Joined:
    Dec 3, 2015
    Messages:
    44
    Likes Received:
    8
    Trophy Points:
    83
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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