Get the correct server configuration depending on environment.

Add note about building weirdness.