here’s a doozy of an issue: resolving a WP install to new domain with “A” record
-
First some background.
I’m creating a new website for an organization using wordpress. The site admin for their current site runs a windows platform so the new site isn’t being built but rather on a linux server.
The current site admin, who controls the DNS for several sites the company owns, didn’t want to point the DNS for the new site to the new server. Instead, he wanted to create a staging site on the new server (staging.domainname.com), take the IP address of the NEW server, create a CNAME on HIS server, and point it to the staging site on the NEW server. Then, when we are ready to go live with the new new site on the NEW server, he will then change the A record on HIS server to point to the new site.
To prepare for this, I created an addon domain on the NEW host for the current domain and also created a directory called “staging.”
Now, honestly, I’ve never moved a site like that before but he assures me it will work and, indeed, staging.domainname.com is currently working fine although the DNS for domainname.com isn’t pointed to the new server.
Now, here is where WordPress comes in and I think it will get trickier. When the switch is flipped and the actual domainname.com is pointing to the new site on the NEW server, what happens to all the permalinks in wordpress that are currently staging.domainname.com/?page_id=xxx?
How do all the paths for the CSS and graphics change?
Will it be just a matter of moving all the wordpress files from the “staging” directory to the “domainname” directory then, in the WP general settings, changing the URLs from “staging.domainname.com” to “domainname.com?”
I know this is very convoluted but I would greatly appreciate any feedback.
- The topic ‘here’s a doozy of an issue: resolving a WP install to new domain with “A” record’ is closed to new replies.