π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Update custom domain CNAME target
Manav Rathia1f07a717dcd
diff --git a/docs/docs/photos/faq/sharing-and-collaboration.md b/docs/docs/photos/faq/sharing-and-collaboration.mdindex d30151961b..030b1355b3 100644--- a/docs/docs/photos/faq/sharing-and-collaboration.md+++ b/docs/docs/photos/faq/sharing-and-collaboration.md@@ -92,7 +92,7 @@ https://pics.example.org/?t=...**Setup:**1. Link your domain in `Settings > Preferences > Custom domains` (currently web only)-2. Add a CNAME DNS record pointing your domain to `my.ente.io`+2. Add a CNAME DNS record pointing your domain to `my.ente.com`3. Wait for DNS changes to propagate (usually a few minutes)Once configured, Ente automatically uses your custom domain when creating new public links. Ente still hosts and serves your albums - only the URL changes.diff --git a/docs/docs/photos/features/sharing-and-collaboration/custom-domains/index.md b/docs/docs/photos/features/sharing-and-collaboration/custom-domains/index.mdindex f0737df72e..eda031cb88 100644--- a/docs/docs/photos/features/sharing-and-collaboration/custom-domains/index.md+++ b/docs/docs/photos/features/sharing-and-collaboration/custom-domains/index.md@@ -30,7 +30,7 @@ The custom domains feature is available to all Ente users, including those on thThe setup involves two steps:1. Letting Ente know about the domain you wish to use for serving your public links-2. Updating your DNS settings to point your domain (or subdomain) to **my.ente.io**+2. Updating your DNS settings to point your domain (or subdomain) to **my.ente.com**For people who are comfortable with changing DNS settings on their domain provider, this entire process is very simple will take a minute. For people who are not comfortable with changing DNS, we will provide a more detailed breakdown below.@@ -46,13 +46,17 @@ Head over to Settings > Preferences > Custom domains, in the domain field enter### Step 2 - Add DNS entry-The second step is to add a CNAME entry in your DNS provider that forwards requests for pics.example.org (replace with your subdomain) to **my.ente.io**.+The second step is to add a CNAME entry in your DNS provider that forwards requests for pics.example.org (replace with your subdomain) to **my.ente.com**.-Specifically, you need to add a `CNAME record` from the domain (or subdomain) of your choice to `my.ente.io`. You can leave the `TTL` at its default.+Specifically, you need to add a `CNAME record` from the domain (or subdomain) of your choice to `my.ente.com`. You can leave the `TTL` at its default.| Record Type | Name | Value | TTL || ----------- | :------------------------: | -----------: | -------------- |-| CNAME | Your subdomain, e.g `pics` | `my.ente.io` | Auto (default) |+| CNAME | Your subdomain, e.g `pics` | `my.ente.com` | Auto (default) |++> [!NOTE]+>+> The original version of this guide used `my.ente.io` as the CNAME target. That still works, but if you're setting up a custom domain today, point it to `my.ente.com`.The exact steps for doing this depend on the DNS provider that you're using.@@ -80,7 +84,7 @@ You don't need to do this manually though, the apps will do it for you. More onIf your domain is not working, go through the following checklist.-- The CNAME should be from your domain to my.ente.io, not the other way around. That is, `pics.example.org => my.ente.io`.+- The CNAME should be from your domain to my.ente.com, not the other way around. That is, `pics.example.org => my.ente.com`.- If you're using Cloudflare DNS, make sure that the "Orange" proxy status toggle is off, and the Proxy status is the "Grey" DNS only.diff --git a/infra/services/caddy/Caddyfile b/infra/services/caddy/Caddyfileindex 39a9fc09cb..008e7d8c1b 100644--- a/infra/services/caddy/Caddyfile+++ b/infra/services/caddy/Caddyfile@@ -1,7 +1,7 @@{- email [email protected]+ email [email protected]on_demand_tls {- ask https://api.ente.io/custom-domain+ ask https://api.ente.com/custom-domain}}@@ -9,7 +9,7 @@ https:// {tls {on_demand}- reverse_proxy https://custom-albums.ente.io {+ reverse_proxy https://custom-albums.ente.com {header_up Host {upstream_hostport}}}diff --git a/mobile/apps/photos/plugins/ente_feature_flag/lib/src/model.dart b/mobile/apps/photos/plugins/ente_feature_flag/lib/src/model.dartindex 5bc3c5e9d5..4953f5326b 100644--- a/mobile/apps/photos/plugins/ente_feature_flag/lib/src/model.dart+++ b/mobile/apps/photos/plugins/ente_feature_flag/lib/src/model.dart@@ -80,7 +80,7 @@ class RemoteFlags {castUrl: "https://cast.ente.com",customDomain: "",embedUrl: "https://embed.ente.com",- customDomainCNAME: "my.ente.io",+ customDomainCNAME: "my.ente.com",);String toJson() => json.encode(toMap());diff --git a/server/cmd/museum/main.go b/server/cmd/museum/main.goindex 61e1460cdd..55c7e166b3 100644--- a/server/cmd/museum/main.go+++ b/server/cmd/museum/main.go@@ -106,7 +106,7 @@ func main() {viper.SetDefault("apps.public-albums", "https://albums.ente.com")viper.SetDefault("apps.embed-albums", "https://embed.ente.com")- viper.SetDefault("apps.custom-domain.cname", "my.ente.io")+ viper.SetDefault("apps.custom-domain.cname", "my.ente.com")viper.SetDefault("apps.public-locker", "https://share.ente.com")viper.SetDefault("apps.public-paste", "https://paste.ente.com")viper.SetDefault("apps.public-memories", "https://memories.ente.com")diff --git a/server/configurations/local.yaml b/server/configurations/local.yamlindex e40683c01f..fe71d39cbb 100644--- a/server/configurations/local.yaml+++ b/server/configurations/local.yaml@@ -114,7 +114,7 @@ apps:# set this to the URL where your memories web app is running.public-memories:custom-domain:- # Default is my.ente.io+ # Default is my.ente.comcname:# Database connection parametersdiff --git a/web/packages/new/photos/services/settings.ts b/web/packages/new/photos/services/settings.tsindex 3c09b5db2f..b69da1b75a 100644--- a/web/packages/new/photos/services/settings.ts+++ b/web/packages/new/photos/services/settings.ts@@ -99,7 +99,7 @@ export interface Settings {** See also `apps.custom-domain.cname` in `server/local.yaml`.*- * Default: "my.ente.io"+ * Default: "my.ente.com"*/customDomainCNAME: string;}@@ -110,7 +110,7 @@ const createDefaultSettings = (): Settings => ({cfUploadProxyDisabled: false,castURL: "https://cast.ente.com",embedURL: "https://embed.ente.com",- customDomainCNAME: "my.ente.io",+ customDomainCNAME: "my.ente.com",});/**