worker route to site
The Worker worker-name was assigned to the route my.site/*. my.site does not load in the browser.
how can make my.site point to the worker? do i need to setup my.site A to 192.0.2.1 AAAA 100:: if i remember correctly to make this work?
5 Replies
Support AI
According to the documentation, to make your site point to the Worker, you need to set up a DNS record for the domain or subdomain you want to route to. In your case, you need to set up a DNS record for
my.site
.
As mentioned in the documentation (https://developers.cloudflare.com/workers/configuration/routing/routes/#set-up-a-route), you need to have a DNS record set up for the domain or subdomain proxied by Cloudflare (also known as orange-clouded).
To set up a DNS record, you can follow the instructions in the documentation (https://developers.cloudflare.com/dns/manage-dns-records/how-to/create-zone-apex/).
Regarding the IP addresses, the documentation does not mention specific IP addresses like 192.0.2.1
or 100::
. Instead, it recommends setting up a DNS record with the correct IP addresses provided by Cloudflare.
To confirm, you can check the Cloudflare dashboard for the correct IP addresses to use for your DNS record.Sources
Feedback
Feedback has been submitted! Thank you :)
This is an AI generated response, it may not be 100% accurate. Please validate the output. You can ask followups by replying to this message or mentioning me.
domains & routes is setup for the domain. in the domain the routes are added.
Are you using a custom domain?
Or a regular route?
on my workers.dev i can reach the site, but not on my my.site
i used "add route" to redirect to my.site
Is your domain proxied?