rockchalkwushock
rockchalkwushock
Explore posts from servers
TtRPC
Created by rockchalkwushock on 4/21/2023 in #❓-help
How does routing work in tRPC especially when using merged routers?
@Longhumans you sir are a fucking boss! Thank you I would never have figured that out. Makes some sense now with the way the client consumes: trpc.api.version.query() Thanks again!
4 replies
CDCloudflare Developers
Created by rockchalkwushock on 2/20/2023 in #pages-help
Where to find my site's IP Address for setting up sub-domain
thanks so much I really appreciate all the help!
33 replies
CDCloudflare Developers
Created by rockchalkwushock on 2/20/2023 in #pages-help
Where to find my site's IP Address for setting up sub-domain
not necessarily Cloudflare but in general. I will read that as well
33 replies
CDCloudflare Developers
Created by rockchalkwushock on 2/20/2023 in #pages-help
Where to find my site's IP Address for setting up sub-domain
okay makes sense now, thanks for all your help understanding this better. I really appreciated it. Do you have any recommendations on reading for better understanding DNS/sub-domains/etc. I am realizing this is a pretty big question mark for me when it comes to understanding what's happening behind the scenes.
33 replies
CDCloudflare Developers
Created by rockchalkwushock on 2/20/2023 in #pages-help
Where to find my site's IP Address for setting up sub-domain
okay I think I understand. It's been difficult to map out in my head how the DNS side of this works and that's probably the issue. So when it comes to using Cloudflare Pages I normally just connect to project via GitHub and setup the build to execute on push to production. Would this be separated into 2 separate Pages apps and then setup the custom domains as mentioned above?
33 replies
CDCloudflare Developers
Created by rockchalkwushock on 2/20/2023 in #pages-help
Where to find my site's IP Address for setting up sub-domain
okay, so if I did that how do I get Cloudflare to recognize that it's two different application? Is it possible to do this as one application?
33 replies
CDCloudflare Developers
Created by rockchalkwushock on 2/20/2023 in #pages-help
Where to find my site's IP Address for setting up sub-domain
it's all the same AstroJS app
33 replies
CDCloudflare Developers
Created by rockchalkwushock on 2/20/2023 in #pages-help
Where to find my site's IP Address for setting up sub-domain
yep initially with my little understanding of this I was trying to point blog.my-site.com at my-site.pages.dev/blog but clearly that doesn't work
33 replies
CDCloudflare Developers
Created by rockchalkwushock on 2/20/2023 in #pages-help
Where to find my site's IP Address for setting up sub-domain
sorry I didn't convey that well
33 replies
CDCloudflare Developers
Created by rockchalkwushock on 2/20/2023 in #pages-help
Where to find my site's IP Address for setting up sub-domain
ahhh okay I think I understand I didn't really say what I am trying to achieve well. my-site.com my-site.com/about my-site.com/abc All live at my-site.com But I want to scope all the blog to blog.my-site.com so all the routes including the index for /blog should live at that sub-domain
33 replies
CDCloudflare Developers
Created by rockchalkwushock on 2/20/2023 in #pages-help
Where to find my site's IP Address for setting up sub-domain
Yes, from my understanding DNS doesn't know anything about the route in a URL so if someone visits my-site.com and clicks to go to the blog the app is going to go to /blog but DNS is just going to go to my-site.com/blog not the sub-domain so I added the Page Rule to redirect.
33 replies
CDCloudflare Developers
Created by rockchalkwushock on 2/20/2023 in #pages-help
Where to find my site's IP Address for setting up sub-domain
Does the DNS for the custom domain still need an A record that points the sub-domain back at the my-site.pages.dev?
33 replies
CDCloudflare Developers
Created by rockchalkwushock on 2/20/2023 in #pages-help
Where to find my site's IP Address for setting up sub-domain
Okay got that setup so that now the DNS for the custom domain is the my-site.com --> my-site.pages.dev and the Pages has two custom domains my-site.com --> my-site.pages.dev blog.my-site.com --> my-site.pages.dev The Page Rule that I have is my-site.com/blog* --> blog.my-site.com Currently I'm getting back Error 1016 "Origin DNS Error" when I try to visit the blog.my-site.com
33 replies
CDCloudflare Developers
Created by rockchalkwushock on 2/20/2023 in #pages-help
Where to find my site's IP Address for setting up sub-domain
never worked with sub-domains before so learning curve is pretty high and I'm not networking guru either
33 replies
CDCloudflare Developers
Created by rockchalkwushock on 2/20/2023 in #pages-help
Where to find my site's IP Address for setting up sub-domain
yep the index as well as all the routes pertaining to it
33 replies
CDCloudflare Developers
Created by rockchalkwushock on 2/20/2023 in #pages-help
Where to find my site's IP Address for setting up sub-domain
33 replies