From 265afe350a209ad4f3ee727fb3985979398bcfa9 Mon Sep 17 00:00:00 2001 From: Tobi Nehrlich Date: Thu, 21 Sep 2023 14:39:54 +0200 Subject: [PATCH 1/2] Update recommended DNS records --- docs/using-lagoon-the-basics/going-live.md | 30 ++++++++-------------- 1 file changed, 10 insertions(+), 20 deletions(-) diff --git a/docs/using-lagoon-the-basics/going-live.md b/docs/using-lagoon-the-basics/going-live.md index 56de77a9db..258ea3257e 100644 --- a/docs/using-lagoon-the-basics/going-live.md +++ b/docs/using-lagoon-the-basics/going-live.md @@ -57,36 +57,26 @@ To make it as smooth as possible for you to get your site pointing to our server Before you switch over your domain to Lagoon, make sure you lower the Time-to-Live \(TTL\) before you go live. This will ensure that the switch from the old to the new servers will go quickly. We usually advise a TTL of 300-600 seconds prior to the DNS switch. [More information about TTL](https://en.wikipedia.org/wiki/Time_to_live#DNS_records). -### Recommended settings for Fastly (CNAME record): +### Recommended settings for Fastly: -The recommended method of pointing your domain's DNS records at Lagoon is via a CNAME record as shown below: +#### Subdomains (CNAME) +The recommended method of pointing your subdomain's \(e.g. www.example.com.\) DNS records at Lagoon is via a CNAME record as shown below: `CNAME`: `cdn.amazee.io` -### Alternate Settings for Fastly (A records): +#### Root domains (A/AAAA) -If your DNS provider does not support the use of CNAME records, you can use these A records instead. Please ensure you set up individual records for each IP listed below: +Configuring the root domain \(e.g. example.com.\) can be tricky because the DNS specification does not allow root domains to point to a CNAME. Therefore, the following A and AAAA records should be used. Please ensure you set up individual records for each IP listed below: * `A`: `151.101.2.191` * `A`: `151.101.66.191` * `A`: `151.101.130.191` * `A`: `151.101.194.191` - -!!! Note - We do not suggest configuring any static IP addresses in your DNS zones. The Lagoon load balancer infrastructure may change over time which can have impact on your site availability if you configure a static IP address. - -### Root Domains - -Configuring the root domain \(e.g. example.com\) can be a bit tricky because the DNS specification does not allow the root domain to point to a CNAME entry. Depending on your DNS provider, the record name is different: - -* ALIAS at [DNSimple](https://dnsimple.com/) -* ANAME at [DNS Made Easy](http://www.dnsmadeeasy.com/) -* ANAME at [easyDNS](https://www.easydns.com/) -* ALIAS at [PointDNS](https://pointhq.com/) -* CNAME at [CloudFlare](https://www.cloudflare.com/) -* CNAME at [NS1](http://ns1.com) - -If your DNS provider needs an IP address for the root domain, get in touch with your Lagoon administrator to give you the load balancer IP addresses. + +* `AAAA`: `2a04:4e42::703` +* `AAAA`: `2a04:4e42:200::703` +* `AAAA`: `2a04:4e42:400::703` +* `AAAA`: `2a04:4e42:600::703` ## Production environment From 3e2f4144f84c9487a40db133303c02a7f33dc200 Mon Sep 17 00:00:00 2001 From: Toby Bellwood Date: Thu, 6 Jun 2024 10:50:33 +1000 Subject: [PATCH 2/2] Update docs/using-lagoon-the-basics/going-live.md --- docs/using-lagoon-the-basics/going-live.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/using-lagoon-the-basics/going-live.md b/docs/using-lagoon-the-basics/going-live.md index 258ea3257e..2692580075 100644 --- a/docs/using-lagoon-the-basics/going-live.md +++ b/docs/using-lagoon-the-basics/going-live.md @@ -57,6 +57,9 @@ To make it as smooth as possible for you to get your site pointing to our server Before you switch over your domain to Lagoon, make sure you lower the Time-to-Live \(TTL\) before you go live. This will ensure that the switch from the old to the new servers will go quickly. We usually advise a TTL of 300-600 seconds prior to the DNS switch. [More information about TTL](https://en.wikipedia.org/wiki/Time_to_live#DNS_records). +!!! Info + This information only relates to amazee.io hosted projects, and will shortly be removed from these docs and added to amazee.io specific ones + ### Recommended settings for Fastly: #### Subdomains (CNAME)