Back

Fresh self hosted install, didn't enter hostname/cname host

  • 0
  • Self Hosted
Camo
4 Feb, 2024, 19:42
TL;DR
Fresh self-hosted install is missing hostname/CNAME host. User is unsure how to add a sub-subdomain. The solution is to add the sub-subdomain as a separate string and ensure the DNS is correctly pointing to the server. If browsing to the domain does not show the Appwrite instance, it is a DNS issue. To force Traefik to re-issue a certificate, the user can bypass HSTS or check if the certificate is being issued correctly. If the .env file is missing, it should be created with the necessary domain environment variables. No solution is provided for entering the hostname/CNAME host manually.
Steven
4 Feb, 2024, 19:43

Hmm can you bypass that?

Camo
4 Feb, 2024, 19:43

hsts enabled on domain

Camo
4 Feb, 2024, 19:44

how would i force traefik to re-issue a cert for the appwrite domain ?

Steven
4 Feb, 2024, 19:44

Looks fine to me

Steven
4 Feb, 2024, 19:44
Camo
4 Feb, 2024, 19:44

hmm strange

Camo
4 Feb, 2024, 19:44

let me check on other device

Camo
4 Feb, 2024, 19:45

yeah it works, awesome, thank you!

Steven
4 Feb, 2024, 19:45

Might be your cache

Camo
4 Feb, 2024, 19:46

in the env file i've noticed that there are some subdomains e.g. for functions

Camo
4 Feb, 2024, 19:46

should i ussue a record for it ?

Camo
4 Feb, 2024, 19:46

because i got the same domain * for another server

Camo
4 Feb, 2024, 19:47

or if the subdomain is already pointed, then the sub, subdomain should already work i guess

Steven
4 Feb, 2024, 19:47

When we say domain, we mean any domain, including sub-domains

Camo
4 Feb, 2024, 19:48

the main domain has a * for another server, so i've added a subdomain that points the the appwrite server, which holds te appwrite.bash.lv

Camo
4 Feb, 2024, 19:49

now i see functions.appwrite.bash.lv is a thing in the .env file, i guess if the appwrite.bash.lv already points to this server, i should be good

Camo
4 Feb, 2024, 19:49

as its a subsubdomain, right?

Camo
4 Feb, 2024, 19:49

i have no experience with subsubdomains that's why the question accurs, but logically it should be this way

Steven
4 Feb, 2024, 19:50

They're all pretty much the same

Camo
4 Feb, 2024, 19:51

_APP_EXECUTOR_HOST=http://appwrite-executor/v1 _APP_EXECUTOR_RUNTIME_NETWORK=appwrite_runtimes _APP_FUNCTIONS_ENVS=node-16.0,php-7.4,python-3.9,ruby-3.0 _APP_FUNCTIONS_RUNTIMES=node-16.0,php-8.0,python-3.9,ruby-3.0

Camo
4 Feb, 2024, 19:51

here if i want to add bun, i just add a string, that's it ?

Steven
4 Feb, 2024, 19:51

From a DNS/hostname perspective, a domain and sub domain work the same

Steven
4 Feb, 2024, 19:52

Yes, please make sure to read the self hosting docs: https://appwrite.io/docs/advanced/self-hosting

Camo
4 Feb, 2024, 19:52

i will do

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more