Back

How do I setup host name for subdomains and mail service

  • 0
  • Users
  • Web
  • Cloud
IsItBathTime
22 Sep, 2023, 00:53

If i enter www.vrtuhub.com my site works and email verification works but www.team.vrtuhub.com doesn't work. If I enter *vrtuhub.com both main and subdomain works but email verification is broken as "url must be one of localhost, appwrite.vrtuhub.com, *vrtuhub.com Just entering * means email verification won't work.

How do I get all of this working, what as I supposed to enter on hostname.

TL;DR
The user is seeking help in setting up a host name for subdomains and mail service. They mention that the wildcard is only valid for one subdomain and they are experiencing issues with email verification. They are unsure of what to enter for the hostname. Solution: To set up a host name for subdomains and mail service, you need to specify the appropriate DNS records for your subdomains. If you want email verification to work for all subdomains, you can try entering "*.vrtuhub.com" as the hostname. This should allow both the main domain and subdomains to work properly.
Drake
22 Sep, 2023, 00:55

that's because the wildcard is only valid for one subdomain...not multiple levels. you can always add multiple plaforms

IsItBathTime
22 Sep, 2023, 01:02

Oh thanks for the suggestion. I understand how this works now. Thank you Steven 🙏

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