I currently have a site with a public and private IP running properly on an apache server A. There's also a new server B which will host the site ready to go with its own private IP.
Current Server - A:
- PUBLIC_IP
- PRIVATE_IP
New Server - B:
- NEW_PRIVATE_IP
The above IPs are currently accessible form a web browser. In our firewall settings web interface:
# Current settings
PUBLIC_IP => PRIVATE_IP
# Suggested settings
PUBLIC_IP => NEW_PRIVATE_IP
PUBLIC_IP is currently pointing to PRIVATE_IP. I was told that pointing PUBLIC_IP to NEW_PRIVATE_IP should be sufficient to complete the server switch and the downtime will be a few seconds.
Has anyone done a similar task before? What am I missing from the above steps?
EDIT
Here's what I see when I access PUBLIC_IP in Firefox after pointing to the NEW_PRIVATE_IP in the firewall settings:
Firefox can't find the server at PUBLIC_IP
After reverting to PRIVATE_IP in the firewall settings, the PUBLIC_IP is accessible through Firefox.