diff --git a/docs/developer-docs/web-apps/custom-domains/using-custom-domains.mdx b/docs/developer-docs/web-apps/custom-domains/using-custom-domains.mdx
index ec7800d8fe..55c6146769 100644
--- a/docs/developer-docs/web-apps/custom-domains/using-custom-domains.mdx
+++ b/docs/developer-docs/web-apps/custom-domains/using-custom-domains.mdx
@@ -8,8 +8,6 @@ import { MarkdownChipRow } from "/src/components/Chip/MarkdownChipRow";
-
-
By default, all canisters on the Internet Computer are accessible through the
domain `icp0.io` and their canister ID. In addition to that default domain, one
can also make a canister accessible under a custom domain using one of the
@@ -119,7 +117,7 @@ by some instructions on [troubleshooting](#troubleshooting).
Configure the `.well-known` directory to be included by writing the following
configuration into the `.ic-assets.json`-file:
- ```
+ ```json
[
{
"match": ".well-known",
@@ -134,11 +132,11 @@ by some instructions on [troubleshooting](#troubleshooting).
```sh
curl -sL -X POST \
- -H 'Content-Type: application/json' \
- https://icp0.io/registrations \
- --data @- <