Set up the host on all the IP addresses of the server
Enable the host on all IP addresses. For example
#!/bin/sh
sed -e 's/111.37.146.88/*/g' /etc/httpd/conf/httpd.conf > /etc/httpd/conf/httpd.conf.1
mv -f /etc/httpd/conf/httpd.conf.1 /etc/httpd/conf/httpd.conf
/sbin/service httpd reload
|