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 problem Bad Request (Invalid Hostname)

Discussion in 'General Discussion' started by shareb, May 17, 2009.

  1. shareb

    shareb Registered

    Joined:
    May 16, 2009
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    51
    hi,
    I'm using cPanel v11 Accelerated and I created a subdomain but it's giving me this error when I try to request it:
    Bad Request (Invalid Hostname)

    When I was creating it i wrote the subdomain (for example mysubdomain.mysite.com) and cPanel added it after my Document Root (home/public_html/mysubdomain) but that wasn't the folder I wanted for the subdomain so I changed it to another.

    Anyone knows what the problem is?

    Thanks.
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,216
    Likes Received:
    10
    Trophy Points:
    313
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Have you tried this again? I ask because the error you mention can sometimes be thrown by a browser rather than our software.
     
  3. PlatinumServerM

    PlatinumServerM Well-Known Member
    PartnerNOC

    Joined:
    Jul 10, 2005
    Messages:
    400
    Likes Received:
    3
    Trophy Points:
    168
    Location:
    New Jersey, USA
    cPanel Access Level:
    Root Administrator
  4. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    68
    A folder "abc" will automatically be created inside public_html folder when you add "abc" subdomain for your domain. If you edit the name of subdomain then it will not work.
     
    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