Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    May 2009
    Posts
    1

    Default Subdomain problem Bad Request (Invalid Hostname)

    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. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    10,720
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by shareb View Post
    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.
    Have you tried this again? I ask because the error you mention can sometimes be thrown by a browser rather than our software.

  3. #3
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jul 2005
    Location
    New Jersey, USA
    Posts
    397

    Default

    Was the error on the cpanel page? or in a white browser error?

  4. #4
    Member
    Join Date
    May 2008
    Posts
    1,114

    Default

    Quote Originally Posted by shareb View Post
    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.
    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.

Similar Threads & Tags
Similar threads

  1. Bad Hostname
    By TomBullock in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 07-15-2009, 04:31 AM
  2. ident bad request
    By jarodlwk in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-26-2008, 06:17 PM
  3. Subdomain -- Error 400 - Bad Request
    By Scratch_ in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 07-05-2007, 04:42 PM
  4. Invalid Hostname
    By matsko in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-21-2005, 04:58 PM
  5. subdomain/hostname config problem
    By pbw in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 12-04-2003, 09:06 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube