Change custom domain name | update DNS

i already ha register the custom domain which was working well now i can to change this with another one :
for example my old domain which is working pro.abc.com now i want to change this domain with
pro.xyz.io i did follow the instructions given in
Home | Internet Computer
but did not

1 Like

What was the error that you received?

the domain is still not working.It show “404 Not Found nginx”

I run this command
curl -sLv -X POST
-H ‘Content-Type: application/json’
https://icp0.io/registrations
–data @- <<EOF
{
“name”: “domain”
}
EOF

I run this command it return me a request Id then i run this command
curl -sLv -X GET
https://icp0.io/registrations/myRequestId

It return me
{“name”:“panda.fans”,“canister”:“c63a7-6yaaa-aaaap-ab3gq-cai”,“state”:{“Failed”:“failed to create dns record”}}

Thank you for letting me know. Our team is looking into this error message and will get back to you.

As an update, we are working on resolving an issue with the domain registration endpoint. We will give another update on Monday, August 4th.

Thanks for your support,
We are waiting it to be fixed.
And i have a question ,
once you fix this issue will it work for other?Because we have another canister which is bineded with domain and we also want to change that, we did’t try to to change that because we were facing this issue with this. once it works we will change that also.

Yes, once we have a solution, registering domains across canisters will work.

1 Like

Hey @Alishan,

Sorry for the inconveniences caused. I am happy to report that the issue has been identified and fixed:
To make your custom domain work, you should first check its status with:

curl -sLv -X GET \
    https://icp0.io/registrations/REQUEST_ID

If it returns a status, it should show it as available. However, if it returns not found, then you can just start the registration again:

curl -sLv -X POST \
    -H 'Content-Type: application/json' \
    https://icp0.io/registrations \
    --data @- <<EOF
{
    "name": "CUSTOM_DOMAIN"
}
EOF

And it should work again for you. If that’s not the case, please post here again and we will investigate further.

3 Likes

Thanks you very much :two_hearts:. I hope it will work for other domain also.