Back

[solved]how to change endpoint as my domain name

  • 1
  • Web
bharath
29 Mar, 2023, 12:33

To connect my website and appwrite I need to have same endpoint but I want to use my domain as endpoint but iam unable to change to endpoint in my appwrite dashboard

TL;DR
The user is having trouble changing their endpoint in the Appwrite dashboard to use their domain name. Another user suggests referring to the documentation and setting the _APP_DOMAIN and _APP_DOMAIN_TARGET environment variables to the same endpoint. The user confirms that they have already set these variables to api.printfc.in, but their problem is that when a user signs up on their website, the email ID is stored in Appwrite with their IP address URL instead of the domain URL. The user is asked to provide a screenshot for clarification. No solution is provided in the thread.
joeyouss
29 Mar, 2023, 13:40

Hi, please have a look at https://appwrite.io/docs/environment-variables - _APP_DOMAIN and _APP_DOMAIN_TARGET should be set to same endpoint. You can be more specific about what domain setup you want to achieve if this doesnt help and we can fix it

bharath
29 Mar, 2023, 13:44

I have same

bharath
29 Mar, 2023, 13:45

_APP_DOMAIN=api.printfc.in _APP_DOMAIN_TARGET=api.printfc.in

bharath
29 Mar, 2023, 13:46

I will explain my problem

joeyouss
29 Mar, 2023, 13:48

for me, appwrite is running at this url

joeyouss
29 Mar, 2023, 13:48

yeah that'd be great

bharath
29 Mar, 2023, 13:50

1.when a user signup in my website the email id should store in my appwrite this happens when it is in localhost but when it comes with my domain url then my appwrite dashboard has my ip address url[https:143.110.240.5/v1] whereas in my code I have endpoint as https:api.printfc.in/v1

joeyouss
29 Mar, 2023, 13:52

can you send screenshot for the above?

bharath
29 Mar, 2023, 13:55

Did you understand my problem

bharath
29 Mar, 2023, 13:57
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