redirecting apex domain to www

  • benjamin.h-1332085962964074506

    Ben H

    16 days ago

    So, my understanding is that Cloudflare, and hence toddle, do not support apex domains. The workaround is to setup a redirect from your apex domain to the www domain. However, it appears that the DNS I'm using, Google Cloud DNS, does not support URL forwarding. And the registrar I'm using, porkbun, only offers URL forwarding if you're using their nameservers. My conclusion is that I must either (a) change my DNS provider to one that supports URL forwarding, or (b) use a redirect service like redirect.pizza. Does that sound right?
  • lucasg-1332088616700084326

    Lucas G

    16 days ago

    Try using your apex domain. Myself and some others are using them without issues
  • Some people cannot though for wathever reason
  • This is specifically if your domain is hosted with Cloudflare
  • Otherwise, you can use your apex domain as long as your registrar supports CNAME flattening which I believe someone else said porkbun does
  • max.kayr-1332091688675446916

    Max

    16 days ago

    Porkbun does support the Apex domain with the ANAME record. It works like a charm with toddle
  • I started using porkbuns DNS because it just worked with toddle
  • benjamin.h-1332092122462949470

    Ben H

    16 days ago

    Oh that's interesting, the apex domain is working now lol

    it wasn't before but maybe it took some time to propagate.

    i did set up url forwarding in porkbun, but there was a giant red warning message saying this functionality wasn't supported unless i use their nameservers.
  • benjamin.h-1332092962447818832

    Ben H

    16 days ago

    okay actually i think my browser was tricking me because in firefox the apex domain still doesn't load
  • max.kayr-1332093127158267955

    Max

    16 days ago

    Yes, that happens 😁
  • benjamin.h-1332093181474504749

    Ben H

    16 days ago

    @Max i'll look into setting up this flattening thing in porkbun lol
  • max.kayr-1332093934666776587

    Max

    16 days ago

    Honestly, I tried so many dns providers and registrars with different issues. I was happy that porkbun just worked 😄
  • lucasg-1332096902329532499

    Lucas G

    16 days ago

    It's still weird that Cloudflare domains work for some of us. Never really dug much into it but region might have been the reason?
  • Either way, porkbun sounds like a good registrar anyways
  • benjamin.h-1332099394019004436

    Ben H

    16 days ago

    so if i'm understanding correctly if i try to solve the problem with porkbun - whether by making an ANAME record or doing this flattening thing - that means moving my dns from google cloud to porkbun
  • lucasg-1332102033943302174

    Lucas G

    16 days ago

    You set that up wherever your nameservers/dns is set up
  • lucasg-1332102325052899501

    Lucas G

    16 days ago

    If google's dns doesn't support it then yeah, you'll have to move your nameservers back to porkbun
  • Or set up the redirect in google dns
  • main to www
  • benjamin.h-1332103885325598833

    Ben H

    16 days ago

    okay i see so ANAME / Alias records and CNAME flattening are all the same thing. it looks like google cloud dns does have ALIAS records but they're in preview mode aka beta testing and have limited functionality and you have to use the CLI to install it.
  • i'll probably just move everything to porkbun when i get home later tonight
  • andreasmoller-1332215928057757707

    Andreas Møller

    15 days ago

    We are currently working with Cloudflare to add support for apex domains from all dns providers. We should be up and running very soon
    🔥3
  • andreasmoller-1332286543271956480

    Andreas Møller

    15 days ago

    Just got it working. Just need to update the UI. should be live today.
    🔥4
  • benjamin.h-1332370627268579369

    Ben H

    15 days ago

    working like a charm 😉
    🙌1

Stop scrolling. Start building.

toddle is a visual web app builder that rivals custom code — but accessible to your entire team!

Try toddle — it's free!

© Copyright 2024 toddle. All rights reserved.