Author Topic: New IP (Rebuild Does Not Update)  (Read 181 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
New IP (Rebuild Does Not Update)
« on: November 28, 2024, 01:17:51 AM »
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.

Offline
*
Re: New IP (Rebuild Does Not Update)
« Reply #1 on: November 28, 2024, 01:30:30 AM »
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.
Web Design, Development & Web Hosting
https://6sense.com.au

Offline
*
Re: New IP (Rebuild Does Not Update)
« Reply #2 on: November 28, 2024, 01:41:07 AM »
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.

Offline
**
Re: New IP (Rebuild Does Not Update)
« Reply #3 on: November 28, 2024, 09:19:03 AM »
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/

Offline
*
Re: New IP (Rebuild Does Not Update)
« Reply #4 on: November 28, 2024, 02:22:40 PM »
OMD!!!!!! This seems to have worked. Just need to install the SSL certificates and we are good to go. THANK YOU!!!