Modifications to set up different base URL for public site'