HTTP 400 Error - Wrong Hostname Shown

Discussion in 'Installation/Configuration' started by ghostshell, Nov 14, 2013.

  1. ghostshell

    ghostshell New Member

    On CentOS i do not have:


    Any ideas? I am running into the same issue when using both NICs, using only one NIC, if i switch the IP to a different address the 400 error instead of showing the host name reverts to localhost.localdomain. If i switch back to the IP that i was originally using it goes back to Any idea why this happens? Where does the localhost.localdomain get pulled from? The only place i can find it is in my hosts file.

    This may help with a solution to my issue, when i ping the host name it,, it comes back with;


    and not the hostname itself with the IP, im guessing i did not change it in ISPConfig someplace unless the issue is what is in my hosts file.
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Why do you refer to a file /root/ispconfig/httpd/conf/httpd.conf? This is a file of ispconfig 2, it does not exist on a ispconfig 3 server.
  3. ghostshell

    ghostshell New Member

    dually noted, now what about my hostname on the 400 error showing up as


    when i change the IP address to a different one or use dual NICs?

Share This Page