SSL_ERROR_BAD_CERT_DOMAIN error when using custom domain

Correct, you can find more detailed instructions here: