I have a domain mydomain.com
, hosted in AWS. This domain is added as a hosted zone in AWS Route53, so that I can manage all subdomains from there. I have a netlify url like https://my-netlify-address.netlify.app
. I would like to customize netlify url like https://documentation.mydomain.com
.
I went through the documentation https://docs.netlify.com/domains-https/custom-domains/configure-external-dns/#configure-a-subdomain and did everything as instructed. Under the hosted zone of mydomain.com
, I created a CNAME
record documentation.mydomain.com
pointing to my-netlify-address.netlify.app
and waited for 48 hours. Then I returned to netlify
> Domain management
> Custom domains
> Add custom domain
. I tried adding documentation.mydomain.com
, and it showed error below;
mydomain.com is already registered. If you registered this domain name through a different registrar, select Add domain to begin delegating it to Netlify.
Then I clicked Add domain
button, but it again showed error like;
custom_domain is owned by another account
Could someone please tell me how to fix this?