09-14-2012, 03:47 AM | #1 |
ISPsystem team
Join Date: Dec 2011
Posts: 357
|
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 |
|
|