Originally Posted by till
The server on port 81 is no vhost, so it uses the hostname info from its config file. Please change all occurrences of www.linux5.config
to the new hostname in /root/ispconfig/httpd/conf/httpd.conf and restart the ispconfig_server. Then you should change the hostname of the server too, as www.linux5.config
is no valid hostname and might cause trouble e.g. when sending mail.
Whats distro are you running? 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 www.mydomain.com
reverts to localhost.localdomain. If i switch back to the IP that i was originally using it goes back to www.mydomain.com
. 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, www.mydomain.com
, 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.