Allow setting a different domain name for public URLs