
Nothing

yeah saw that one but .local didnt work for me in firefox or chrome... .localhost resolves in both tho.. Really weird

What do you mean localhost resolves?

I can access my dev server with project.localhost:4321 but not project.local:4321

What happens if you get rid of the host entry for project.localhost and try again?

You mean with only these in my /ets/hosts?

Sure and the browse to http://whatever.localhost:4321

Nothing

I can ping korkortsportalen.local

But Chrome/Firefox arent reaching it

You tried http://whatever.localhost:4321?

Ah i see. I thought you wanted me to try with .local. Yeah .localhost works even when not in /etc/hosts

So I'm not sure if chrome does it or the operating system but localhost always points to the current machine regardless of etc hosts

Yeah

So now you're saying http://korkortsportalen.local:4321/ doesn't work? What's the network tab show?

No.. Sorry for the confusion.. Dev server works fine, always has (korkortsportalen.localhost:4321). My issue is I want to access Appwrite Cloud with the hostname appwrite.korkortsportalen.localhost

Tried setting a custom domain but its impossible to verify the domain haha

Right so you can't use something that ends in localhost in the hosts file... But you're saying https//appwrite.korkortsportalen.local doesn't work?

Of course it won't validate because it's not a valid domain

Ah okay.. No, no .local addresses works (at least for me)

Anything else you need?

After a bit of tinkering i got .local addresses working on my machine. Seems like it was a Windows issue

And now after adding both appwrite.korkortsportalen.local and korkortsportalen.local as platforms in the appwrite console everything seems to be working 👍

[SOLVED] Access Appwrite Cloud from local domain name?

Thanks Steven for pointing me in the correct direction! 🍰
Recommended threads
- createDocument bug
why Im getting this??? let me make it easy for you. Do you have Indexes? No. Do you have relationship attributes? No. And the funny part is that it creates the ...
- "Invalid relationship value. Must be eit...
In my app i am trying to update the documents in my databse from a form in my app, and i am getting this error Error updating event users: AppwriteException: I...
- reoccurring resource limit usage
Two days ago I had of the error (attached) when there’s virtually no usage this month for any of my appwrite apps Yesterday we cleared up and I wasn’t getting...
