stephenou / fruitionsite

Build your website with Notion for free
https://fruitionsite.com
MIT License
1.59k stars 218 forks source link

My site is not working and it says it's because of a host error #166

Open Nicholas2271 opened 2 years ago

Nicholas2271 commented 2 years ago

I just bought a domain in namecheap. I followed all the steps and even deleted the A type DNS that my domain already had and changed it to 1.1.1.1 and tried my website and it gave Error 520. because of this I changed it back to the A type DNS it had as u can see in the picture below but it won't work either idk what the problem could be. when I add the "www." before my domain it actually appears something like the 3rd image. Idk what I'm doing wrong so someone please help me. It also appears this mismatch thing in the 4th image. image image image image

Here's the code I used in case of needed. / CONFIGURATION STARTS HERE /

/ Step 1: enter your domain name like fruitionsite.com / const MY_DOMAIN = 'cattaleyaconfecciones.com';

/*

fxbite commented 2 years ago

You got error "Mismatch between origin and baseUrl ( dev)" Fix: Change this line in your code window.CONFIG.domainBaseUrl = 'https://${MY_DOMAIN}'; to window.CONFIG.domainBaseUrl = location.origin;

See how they fix "Mismatch between origin and baseUrl ( dev)" in here #140

In DNS Just add A record @ point to 1.1.1.1 (do not turn on proxy cloudflare in proxy status column)

Nicholas2271 commented 2 years ago

do I delete the one I already have in the DNS?

Nicholas2271 commented 2 years ago

I changed what u told me in the DNS and removed the other one image but it shows this image

fxbite commented 2 years ago

delete the CNAME record and try again

Nicholas2271 commented 2 years ago

I did and now it appears this image image

fxbite commented 2 years ago

image Check your worker is working well

Nicholas2271 commented 2 years ago

the worker is going amazing but when I use it on my browser even in incognito mode it won't load

fxbite commented 2 years ago

image In this Did you setup the route like this? your_domain.com/*

fxbite commented 2 years ago

In my case, I also disable subdomain like this in workers and just on for my domain image

Nicholas2271 commented 2 years ago

like this? image

fxbite commented 2 years ago

Yeah. That's it

Nicholas2271 commented 2 years ago

it still won't work it says that the site can't be reached, I also disabled the other one.

fxbite commented 2 years ago

image Try clear cache "Purge cache"

Nicholas2271 commented 2 years ago

it still won't work

fxbite commented 2 years ago

image

Nicholas2271 commented 2 years ago

it works for u?

fxbite commented 2 years ago

yeah maybe you have to clear cache in your browser

Nicholas2271 commented 2 years ago

it doesn't show on my phone I'm confused

fxbite commented 2 years ago

So weird =))) I checked your website in my laptop and my phone It's working well

Nicholas2271 commented 2 years ago

omg is it too much to ask if u send a pic of the website in ur phone?

fxbite commented 2 years ago

image If your phone can't update the notion app latest version in appstore or ch play. You can't see your website in your phone

fxbite commented 2 years ago

I recommend you check your website on laptop On mobile is 50 - 50

Nicholas2271 commented 2 years ago

I've checked in another browser but it won't appear

Nicholas2271 commented 2 years ago

I do not comprehend why won't it show up to me

fxbite commented 2 years ago

In browser, does it show error?

Nicholas2271 commented 2 years ago

yes it does, I've tried in 3 but this is what it shows image

fxbite commented 2 years ago

do not add www just type cattaleyaconfecciones.com

fxbite commented 2 years ago

because you just point cattaleyaconfecciones.com Your DNS does not have record to www

Nicholas2271 commented 2 years ago

it seems my browser adds automatically the www

fxbite commented 2 years ago

just test first

Nicholas2271 commented 2 years ago

I did and still won't

fxbite commented 2 years ago

image

Nicholas2271 commented 2 years ago

I literally do not type the www yet it sends me to that

fxbite commented 2 years ago

image If browser automatically adds www just delete it

Nicholas2271 commented 2 years ago

even if I remove it, it still does, is there a way I could add the www so it could load?

fxbite commented 2 years ago

If you want to add www

In DNS, add A record www point to 1.1.1.1

In workers Route Change cattaleyaconfecciones.com/ to .cattaleyaconfecciones.com/*

Nicholas2271 commented 2 years ago

without the asterisk? also it won't let me just add the dot before the domain

Nicholas2271 commented 2 years ago

also I added the www and it showed up the same

fxbite commented 2 years ago

image image

fxbite commented 2 years ago

Did you add like this?

Nicholas2271 commented 2 years ago

here image

Nicholas2271 commented 2 years ago

this? image

fxbite commented 2 years ago

yup try purge cache again I can't see your website currently

Nicholas2271 commented 2 years ago

oh ok

fxbite commented 2 years ago

Did it work?

Nicholas2271 commented 2 years ago

done purging and nothing happened

fxbite commented 2 years ago

I saw your website. It's working well Can you take the photo showing your link website in search address? Like this image

Nicholas2271 commented 2 years ago

image

fxbite commented 2 years ago

uhmm seem like your website has been blocked by internet provider.

Nicholas2271 commented 2 years ago

woah what