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.

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:
    1
    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,279
    Likes Received:
    8
    Trophy Points:
    38
    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. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    38
    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.
     
Loading...

Share This Page