Fixed mapping of server URL, when URL is from the root