How to update old site URL after already transferring domain
-
Hi folks. Here’s my issue:
I previously had my personal WP site hosted on a free AWS (Amazon Web Services) Linux instance which proved to be too unstable (and a push for me technically since I’m not a Linux user) so I decided to move across to a more formal hosting service.
I thus installed WP with my NEW host and transferred my domain name at the same time. My intention was to then login to the OLD site by pointing to its ‘raw’ IP/DNS (since my actual domain has obviously been moved across to my NEW instance) and exporting my WP site from the OLD host so that I could then import it into the currently empty WP site on the NEW host.
The problem is that I transferred my domain across to the NEW host before I exported the site from the OLD host. As a result, when I try access the WP admin page on the OLD host, it automatically redirects me to the NEW, empty site at the same (but moved) domain.
How do I access the OLD WP site so that I can export it and import it into the NEW site? I’ve tried entering https://<OLD IP>/wp-admin but this redirects me to the new site at the same domain.
I’m thinking that I need to manually access the OLD MySQL database and update the site URL to something like the raw AWS IP or DNS so that I can access the OLD site’s WP admin, but I am not sure how to do this within Linux (I’m SSHing into it).
Any advice would be welcome. Thanks! ??
P.S. I’ve tried accessing the db via myPhpAdmin (as described here https://codex.www.ads-software.com/Changing_The_Site_URL) but…
1) Not sure if I’m doing it right since https://<old IP>/phpmyadmin just loads a broken version of the old site (getting closer!)
2) I know that I installed MyPhpAdmin on my AWS Linux instance at the time but not sure if it’s still running (should it be?)
- The topic ‘How to update old site URL after already transferring domain’ is closed to new replies.