Skip to content
Init is here / May 19 - 23
Back

setup custom domain to appwrite but still uses localhost as the domains for sites

  • 0
  • Self Hosted
  • Web
Yuuki さん
25 May, 2025, 03:40

i just installed a Appwrite instance in my vps and i did all default otions exept the domain

i have setuop its dns as A records pointing to my vps ip

although it worked that i can access it but when i deploy a t3emplate site it uses this magic-portfolio.sites.localhost

and didnt use my domain that my appwrite is ussing also when i add custom domain it says to redirect to sites.localhost when i create a cname record

i have no idea why but i would appreciate it if someone can help me as i really wanna try this replacing coolify

TL;DR
Developer set up Appwrite on VPS with custom domain but template sites still use localhost instead of custom domain. Custom domain setup redirects to sites.localhost. Looking for solution. Solution: Update the default domain in Appwrite settings to match the custom domain. This should resolve the issue with template sites using localhost.
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