Title: Load Balancing and Dev &#8211; Dynamic URL?
Last modified: August 19, 2016

---

# Load Balancing and Dev – Dynamic URL?

 *  [ecksfiftyone](https://wordpress.org/support/users/ecksfiftyone/)
 * (@ecksfiftyone)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/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 [http://dev.mysite.com](http://dev.mysite.com),
   but on live it should be [http://www.mysite.com](http://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?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [GRAQ](https://wordpress.org/support/users/graq/)
 * (@graq)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/load-balancing-and-dev-dynamic-url/#post-1966039)
 * Provided you use all the built in functions like bloginfo(‘siteurl’) you should
   be alright?
 * [http://codex.wordpress.org/Function_Reference/get_bloginfo](http://codex.wordpress.org/Function_Reference/get_bloginfo)
 *  Thread Starter [ecksfiftyone](https://wordpress.org/support/users/ecksfiftyone/)
 * (@ecksfiftyone)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/load-balancing-and-dev-dynamic-url/#post-1966112)
 * unfortunatley that doesnt really help.
 * I’m not trying to get the variables…
 * The wordpress config makes you speciafy a URL for the site and wordpress (Usually
   the same) I need this to be dynamic, yet wordpress insists on a static url.
 * It wont let me put a variable in the field.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Load Balancing and Dev – Dynamic URL?’ is closed to new replies.

## Tags

 * [dev](https://wordpress.org/support/topic-tag/dev/)
 * [dynamic url](https://wordpress.org/support/topic-tag/dynamic-url/)
 * [load balancing](https://wordpress.org/support/topic-tag/load-balancing/)
 * [multi-server](https://wordpress.org/support/topic-tag/multi-server/)
 * [Stage](https://wordpress.org/support/topic-tag/stage/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [ecksfiftyone](https://wordpress.org/support/users/ecksfiftyone/)
 * Last activity: [15 years, 2 months ago](https://wordpress.org/support/topic/load-balancing-and-dev-dynamic-url/#post-1966112)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
