How to set up a custom domain for links