How do you configure Floating IP and Virtualmin properly so each virtual host is loaded correctly?

I’m using CentOS 6.9 with Virtualmin installed as my app server.
The server also has PHP installed.
It serves multiple virtual hosts.
It’s been working well for the past 2 years.

I’m trying to use Floating IP.
I already followed the guides from DigitalOcean and the floating ip already points to proper anchor ip and works well.
However, it keeps loading the default documentroot from httpd.conf and it doesn’t even load PHP files now.

I already made sure that all the IP addresses in “ip addr sh” match those in “grep -i ‘<virtualhost’ /etc/httpd/conf/httpd.conf”.

Am I missing something?

Any help is appreciated.


I believe the “Validate Virtual Servers” under “Limits and Validation” should fix this up for you.