Tricky Setup with redirect from other server. Advice Please
-
Hey all. I could use some advice as to how to migrate from my local staging server to my production server. Its a rather tricky setup so bare with my as I try to describe it.
I have my site set up and working great at the root of a staging subdomain on my personal server.
Staging: staging.mydomain.comlater this week I’m going to be moving it to a new production server on Rackspace which currently has no domains attached to it (is just an IP address). The clients is redirecting a folder to the new rackspace server.
https://www.clientsdomain.com/subfolder/
This will be where the site lives. But clientsdomain.com is a different server somewhere else in the world (not at rackspace). they will be redirecting traffic to that url to the new rackspace server.So my questions are:
my working staging set up for wordpress is at the root of my personal servers subdomain. How should I set it up on rackspace? At the root of the ip address? or within a subfolder to mimic the domain setup for any relative links.The reason I ask is that I thought i had this set up properly, in a test I did a week or so ago on the production server, but I realized that certain admin links (for example uploading images) were still based on a root level instead of subdirectory.
I realize this is hard to follow but I’m kinda stumped as the proper way to migrate
staging.mydomain.com
to
https://www.clientsdomain.com/subfolder/
with a redirect from another server. It seems I’m both changing the url and the folder structure at the same time. Is there a proper method for a move like this.Should I move my staging server to a subfolder first then change the url? Oh my head is spinning.
any help is appreciated!
- The topic ‘Tricky Setup with redirect from other server. Advice Please’ is closed to new replies.