Skip to content

Commit 2014b9f

Browse files
authored
Merge pull request #123251 from azarboon/patch-113
Update custom-domain.md
2 parents e8bf76f + d87cf90 commit 2014b9f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

articles/static-web-apps/custom-domain.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ Setting up an apex domain is a common scenario to configure once your domain nam
3333

3434
Alternatively, for domain registrars that don't support `ALIAS` records, `ANAME` records or `CNAME` flattening, you can configure an `A` record for your static web app. This configuration directs traffic to a single regional host of your static web app. Using `A` records isn't recommended as your application no longer benefits from global distribution, and this type of setup could affect application performance if your traffic is globally distributed.
3535

36+
> [!NOTE]
37+
> `CNAME` record maps a domain name to another domain (or subdomain) whereas `A` record maps a domain name to an IP address. If the IP address changes, a `CNAME` entry is still valid, unlike `A` record. Let’s say you have WebApp1 and you would like users to access it from https://www.contoso.com. You can do it in two possible ways: you can create a `CNAME` record and map it to WebApp1.azurestaticapps.net. Alternatively, you can create an `A` record and map it to the IP address of WebApp1.
38+
3639
The following are terms you might encounter as you set up a custom domain.
3740

3841
* **Apex or root domains**: Given the domain `www.example.com`, the `www` prefix is known as the subdomain, while the remaining segment of `example.com` is referred to as the apex domain.

0 commit comments

Comments
 (0)