add custom domain functionality