Quote:
Originally Posted by mouse Thanx brinks
And how to Change IPs on Systems Using NAT ? |
To change your external IPs on a system using NAT (see details here). You may need to follow this instruction when you move to a different location and would like to preserve your internal IP settings.
Change IPs in ~cpanel/shiva/psoft_config/ips-map.xml and ~cpanel/shiva/psoft_config/hsphere.properties
Change IPs in SiteStudio configs /hsphere/shared/SiteStudio/psoft_config/*. You can use a simple script:
-------------------
#!/bin/sh
if [ $# = 0 ] ; then
echo $"Usage: changeip.sh Oldip Newip"
exit 1
fi
for i in /hsphere/shared/SiteStudio/psoft_config/*.properties
do
echo "Processing $i";
echo ",s/$1/$2/g
wq" | ed $i
done
------------------
Change external IPs in httpd.conf on the web box.
Restart H-Sphere
Log in as the cpanel user and recreate zones with the dns creator: