Load Balancing and Dev – Dynamic URL?
-
I will be hosting wordpress.
I have 3 live servers (Load balanced) and a Dev server.There will be no uploads or anything, and all posts are database driven.. so this should be fine.
The client I am hosting for will make use of the WP-Admin portal to modify their Theme directly.
I want WP-Admin to be used from dev.
NO WP-admin on the 3 live servers.
When the client modifies and tests the theme code, I will have those changes pushed out to the live servers. I can handle this.. no problem.Where I have the issue is with the hard coded URLS (Site url and wordpress url) When they are on Dev.. I need them to test everything using the url https://dev.mysite.com, but on live it should be https://www.mysite.com. (And even further, I’d like to test individual servers with ww1.mysite.com, ww2.mysite.com, ww3.mysite.com)
When I set the Site and WordPress urls, all links go to those hardcoded urls making dev and individual servers impossible. I want the paths to be relative, but the url fields will not accept single slashes to indicate “the url I’m on” rather than a set static url.
Do I need to setup Multisite?
- The topic ‘Load Balancing and Dev – Dynamic URL?’ is closed to new replies.