stephenou / fruitionsite

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

Not sure why but it's not working #17

Open monicacoaching opened 4 years ago

monicacoaching commented 4 years ago

Hi there, I saw your video with Marie and I followed the instructions on your site, I think. I created the worker on cloudfare. www.monicacoaching.com still gives me error. I checked google domains (where i have the domain) and updated the servers. Any ideas, why it's not working? Thank you so much. I am an English teacher based in Seoul.

Below is my code:

/ CONFIGURATION STARTS HERE /

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

/*

lucaberta commented 4 years ago

Hi @monicacoaching have you correctly created the routes in the CloudFlare configuration?

They are needed in order to route correctly the calls made by the browsers and make the magic of the worker script happen.

Holler if you need help!

Luca

monicacoaching commented 4 years ago

Not sure if I did that right. I just followed the instructions. I also looked at the video too but Not working. Is there a common step people do incorrectly? Is there any way to veryfy what was wrong?

On Sat, Jun 6, 2020 at 6:35 PM Luca Bertagnolio notifications@github.com wrote:

Hi @monicacoaching https://github.com/monicacoaching have you correctly created the routes in the CloudFlare configuration?

They are needed in order to route correctly the calls made by the browsers and make the magic of the worker script happen.

Holler if you need help!

Luca

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/stephenou/fruitionsite/issues/17#issuecomment-640021145, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP3LYVATDOWGM5QJLOMCOVTRVIEVXANCNFSM4NVNTZRA .

lucaberta commented 4 years ago

I suspect you did not configure correctly the DNS entries on CloudFlare.

They should be configured like so:

lux-screenshot0760

The worker script seems fine, but there must also be the route entry correctly configured.

In your case the route should be like so:

*monicacoaching.com/*

with the correct worker script name configured.

Hope this help, let me know how it goes.

Bye, Luca

monicacoaching commented 4 years ago

Do you need to type the * at the beginning too?

Now i have Monicacoaching.com/*

Should i have monicacoaching.com/ ?

I’ll check the cloudfare DNS records

On Sun, Jun 7, 2020 at 6:19 AM Luca Bertagnolio notifications@github.com wrote:

I suspect you did not configure correctly the DNS entries on CloudFlare.

They should be configured like so:

[image: lux-screenshot0760] https://user-images.githubusercontent.com/5642245/83954698-b15e9200-a84b-11ea-9180-507eec1facfd.png

The worker script seems fine, but there must also be the route entry correctly configured.

In your case the route should be like so:

monicacoaching.com/

with the correct worker script name configured.

Hope this help, let me know how it goes.

Bye, Luca

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/stephenou/fruitionsite/issues/17#issuecomment-640119541, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP3LYVCSEHMC2WJQUCP2553RVKXG3ANCNFSM4NVNTZRA .

lucaberta commented 4 years ago

If you put the asterisk at the beginning too, that single character will allow two things:

  1. both HTTP and HTTPS connections will be correctly routed to your worker script
  2. both those who connect to monicacoaching.com OR www.monicacoaching.com will be served the correct home page of your website.

This is the simple reason for that character, nothing more. Clever, huh? ;-)

The DNS records were clearly not there when I checked yesterday, hence the script could not be triggered. I am convinced you're on the way to solving the issue!

Bye, Luca

monicacoaching commented 4 years ago

What should I put for the IP address in the DNS management? Thx, Monica

On Sun, Jun 7, 2020 at 6:19 AM Luca Bertagnolio notifications@github.com wrote:

I suspect you did not configure correctly the DNS entries on CloudFlare.

They should be configured like so:

[image: lux-screenshot0760] https://user-images.githubusercontent.com/5642245/83954698-b15e9200-a84b-11ea-9180-507eec1facfd.png

The worker script seems fine, but there must also be the route entry correctly configured.

In your case the route should be like so:

monicacoaching.com/

with the correct worker script name configured.

Hope this help, let me know how it goes.

Bye, Luca

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/stephenou/fruitionsite/issues/17#issuecomment-640119541, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP3LYVCSEHMC2WJQUCP2553RVKXG3ANCNFSM4NVNTZRA .

monicacoaching commented 4 years ago

cloudfare dns

Is this ok? It still doesn't work. : (

lucaberta commented 4 years ago

@monicacoaching I messaged you privately on your Facebook page yesterday, not sure if you have seen those messages.

monicacoaching commented 4 years ago

Dear Luca, Thanks for letting me know. I just checked my fb msgs. At this moment, I’m not able to spend much so will use a different way to get the domain. Thank you so much for your help so far.

Monica

On Mon, Jun 8, 2020 at 3:49 PM Luca Bertagnolio notifications@github.com wrote:

@monicacoaching https://github.com/monicacoaching I messaged you privately on your Facebook page yesterday, not sure if you have seen those messages.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/stephenou/fruitionsite/issues/17#issuecomment-640404120, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP3LYVGHI3RUXBHZ6HCSMDTRVSCX3ANCNFSM4NVNTZRA .

whyyouwe commented 3 years ago

Thanks a ton for your comments here. Finally my website up by changing the A records.

GeorgyDesign commented 3 years ago

Didn't work for me. Still get Mismatch between origin and baseUrl (dev) error. I've tried a lot of ways (www. stuff, changing DNS settings on Cloudflare, etc) and nothing worked.

Krishna-najpk commented 2 years ago

It's not working for me either...Can anybody help?