Ok i have a bit of a problem and can't find inspiration on how to solve it.
Let me describe situation.
Recently i was hired by a company to migrate and optimize their content to new server. They use wordpress. Usually in such situation i would simply migrate existing content to some of my servers under my company domain and host it on subdomain and test it. Both i and a client could access it etc. When project is done i would simply clone/migrate website to their new server, wiping old content (files and db) and job done.
This time it's different.
This client have internet portal with 15gb of content. 250 000 files in uploads folder. So i could not simply move content to my company subdomain and fiddle with all that because my connection is not lighting fast. I wad under impression that we simply order new VPS and clone wordpress content right there and work from there.
Ma naive idea was to simply access to DEV site when in dev mode by typing server ip address. This works but only for homepage.
When i click Preview in Plesk this is the link i am getting and homepage is working:
http://xx.xx.xxx.xxx/plesk-site-preview/somedomain.com/xxx.xx.x.xxx/ (x is IP address)
But no other links are working and i can not access WP Dashboard.
So i ordered him VPS package (plesk control panel). I migrated all content and homepage and when in Plesk i press Preview - homepage is working but other pages are not working and Wordpress dashboard is not available. I understand that this is because all relation in to website database still point to his original domain www.someexample.com while i am accessing site by IP address. Therefore nothing else works.
My naive idea was to access it via IP work from there and when i am done i simply redirect their old NS names in domain administration to my new NS and server. I use CloudNS premium package.
Question is. Can i somehow fake domain on my DEV website/server instance so i can simply access all content and WP dashboard? Does anyone have any idea? So far my impression is that maybe i could batch rename all old domain links to my DEV server ip and when i am done i batch rename everything to real domain...or anything else to it?
Let me describe situation.
Recently i was hired by a company to migrate and optimize their content to new server. They use wordpress. Usually in such situation i would simply migrate existing content to some of my servers under my company domain and host it on subdomain and test it. Both i and a client could access it etc. When project is done i would simply clone/migrate website to their new server, wiping old content (files and db) and job done.
This time it's different.
This client have internet portal with 15gb of content. 250 000 files in uploads folder. So i could not simply move content to my company subdomain and fiddle with all that because my connection is not lighting fast. I wad under impression that we simply order new VPS and clone wordpress content right there and work from there.
Ma naive idea was to simply access to DEV site when in dev mode by typing server ip address. This works but only for homepage.
When i click Preview in Plesk this is the link i am getting and homepage is working:
http://xx.xx.xxx.xxx/plesk-site-preview/somedomain.com/xxx.xx.x.xxx/ (x is IP address)
But no other links are working and i can not access WP Dashboard.
So i ordered him VPS package (plesk control panel). I migrated all content and homepage and when in Plesk i press Preview - homepage is working but other pages are not working and Wordpress dashboard is not available. I understand that this is because all relation in to website database still point to his original domain www.someexample.com while i am accessing site by IP address. Therefore nothing else works.
My naive idea was to access it via IP work from there and when i am done i simply redirect their old NS names in domain administration to my new NS and server. I use CloudNS premium package.
Question is. Can i somehow fake domain on my DEV website/server instance so i can simply access all content and WP dashboard? Does anyone have any idea? So far my impression is that maybe i could batch rename all old domain links to my DEV server ip and when i am done i batch rename everything to real domain...or anything else to it?