Archive for the tag 'host'

Upcp Error Message for changing host IP to 0.0.0.0

Error Message
The hostname (domain.server.com) resolves to xxx.xxx.xxx.xxx. It should resolve to 0.0.0.0 Please be sure to correct /etc/hosts as well as the ‘A’entry in zone file for the domain. Some are all of these problems can be caused by /etc/resolv.conf being setup incorrectly. Please check this file if you believe everything else is correct.

Issue is due to wrong ethernet interface specified in “WHM >> Basic cPanel/WHM Setup”.

In order to resolve this check the ethernet configuration file for the value “IPADDR” and add this interface in “WHM >> Basic cPanel/WHM Setup”

Now for crosschecking take the option “Add an A Entry for your Hostname” in WHM.

Finally start “ipaliases” (/etc/rc.d/init.d/ipaliases) service for the new interface.

Specify the redirect host value when http is used on an https protocol

If you’ve enabled SSL=1 and the User enters http, then DA will give them the server IP redirect by default. This option will allow the admin to specify the value of the hostname in the redirect, which has an added benefit of forcing them to use the host that matches the certificate to valid ssl errors.

The directadmin.conf option will be:

ssl_redirect_host=host.name.com

The default setting is for the value to not be present in the directadmin.conf.

When it’s not present, the server IP will be used. With the option present, it’s value will be used (even it’s it’s blank) so make sure it only there if you want to use it.

Source: http://www.directadmin.com/