Rank 2: Process
Nothing
Votes
0
Replies
24
Participants
Unknown
Messages
25
Rank 2: Process
Nothing
Rank 2: Process
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?
Rank 2: Process
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?
Rank 2: Process
You mean with only these in my /ets/hosts?
Sure and the browse to http://whatever.localhost:4321
Rank 2: Process
Nothing
Rank 2: Process
I can ping korkortsportalen.local
Rank 2: Process
But Chrome/Firefox arent reaching it
You tried http://whatever.localhost:4321?
Rank 2: Process
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
Rank 2: Process
Yeah
So now you're saying http://korkortsportalen.local:4321/ doesn't work? What's the network tab show?
Rank 2: Process
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
Rank 2: Process
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
Rank 2: Process
Ah okay.. No, no .local addresses works (at least for me)
Anything else you need?
Rank 2: Process
After a bit of tinkering i got .local addresses working on my machine. Seems like it was a Windows issue
Rank 2: Process
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?
Rank 2: Process
Thanks Steven for pointing me in the correct direction! 🍰