From time to time, Geolocated IPs may stop working on a cPanel server hosted with OVH. This usually results in websites or services tied to those additional IPs becoming unreachable.
Quick Fix
To restore connectivity to the geolocated IPs, simply run the following command via SSH:
systemctl restart ipaliases
This command restarts the cPanel-managed IP aliasing service, which is responsible for assigning additional IPs (such as geolocated ones) to your server’s network interface.
Notes:
- This fix typically works instantly.
- You may want to automate this on boot if you notice the IPs don’t persist after a reboot.
Add the line to/etc/rc.d/rc.local
if needed (ensure it’s executable):echo "systemctl restart ipaliases" >> /etc/rc.d/rc.local chmod +x /etc/rc.d/rc.local
Optional: Confirm IP Assignment
After restarting the service, verify that the IPs are correctly assigned with:
ip a
or
ifconfig