use base path rather than a fixed hostname