New IP (Rebuild Does Not Update)

Started by rmbettencourt, November 28, 2024, 01:17:51 AM

Previous topic - Next topic

rmbettencourt

I recently upgraded my VPS which sadly caused me to get a new IP address. I changed the IP address and then rebuilt it. However, it is STILL using my old IP. Additionally, I have now also f***ed up my DNS because, after a day, I rebuilt those due to getting the http test page instead of the actual pages for each website in it. Please someone help fix this, as I need access to my emails and of course websites.

6Sense

Has your new DNS settings successfully propagated? They can take up to 48hours, you can check them here http://leafdns.com/

Is the Shared IP correct on your new VPS in CWP Settings > Edit Settings. If it is ensure to tick the Rebuild All WebServers vHosts with the new IP changes box and click save changes.
6Sense - Web Design, Development & Web Hosting

rmbettencourt

Doing the rebuild is what messed up my server. It still uses the old IP even though the new one is working and even stated. Here is what I used to check the old ip:
grep -r "62.171.169.140" /etc/nginx/ /usr/local/apache/conf/ /var/named/

I had actually started doing this manually, but then ran into the rebuild "solution" and all my manual progress went to the trash. I did this yesterday and rebuilt today. So it has been now officially 48 hours.

cyberspace

Hi,

Please review this tutorial to learn how to change the IP address of the server properly:
https://forum.centos-webpanel.com/how-to/how-to-change-the-ip-address-of-a-server/

rmbettencourt

OMD!!!!!! This seems to have worked. Just need to install the SSL certificates and we are good to go. THANK YOU!!!