Apex domain and www redirect

  • building_stuff-1346787729496608799

    Janis

    10 days ago

    I successfully setup my domain and it is available at like https://myapp.com. However, www.myapp.com doesn't work and i get a misdirected request error. I am using IONOS as my domain registrar but I'm not sure how to do the forwarding from www. to the apex domain. I used an A record for the apex entry.
    1346787729664376875-image.png
  • uunicode-1346791460170629190

    unicodes

    10 days ago

    I don't know if this would be the real solution. I have the same issue now that I saw your post, but I would suppose that maybe you also need to add a record for www.myapp.com. In DNS (on your host), I saw that there is a record for myapp.com and one for www.myapp.com as well, the same record, but for each one. I would try this.
  • uunicode-1346791823565262869

    unicodes

    10 days ago

    Noticed that A records are more "sensible", you can try adding a CNAME for the www.myapp.com
  • building_stuff-1346801342492180512

    Janis

    10 days ago

    Thanks for your reply! I can't add a CNAME pointing to the root as that somehow interfers with the Brevo DNS records (email).
  • I also tried url forwarding within IONOS but that messed up everything
  • building_stuff-1346801658495107095

    Janis

    10 days ago

    Did you manage to solve it for your app?
  • uunicode-1346803224585310279

    unicodes

    10 days ago

    I would try tonight, in case of damages to ask help to the hosting guis πŸ˜…
    πŸ™ˆ1
  • building_stuff-1346809176860524584

    Janis

    10 days ago

    Haha ok let me know how it goes and which registrar are you using ?
  • building_stuff-1346953050333384816

    Janis

    9 days ago

    @unicodes were you able to solve it?
  • uunicode-1346953259570696304

    unicodes

    9 days ago

    Hello Janis, I didn't tried to solve this. Hope to do it in next hours.
  • I will come back here.
  • πŸ™
    πŸ™Œ1
  • building_stuff-1346961022258380882

    Janis

    9 days ago

    I now added a CNAME pointing from www. myapp.com to myapp.com (apex domain), lets see.. πŸ™
  • building_stuff-1346961311749247017

    Janis

    9 days ago

    hmm seems to result in a 403 Forbidden. I'll wait a few more minutes πŸ€”
  • uunicode-1346988493720518698

    unicodes

    9 days ago

    I tried to add it too but isn't working.
  • lucasg-1346989429356626010

    Lucas G

    9 days ago

    Oh you said apex lol sorry I completely misunderstood what you were talking about πŸ˜‚
  • 301 redirect isn't working for you guys?
  • www -> non-www
  • uunicode-1346989701176889424

    unicodes

    9 days ago

    Do we have to add www.myapp.com ad domain in toddle too?
  • lucasg-1346989869661949984

    Lucas G

    9 days ago

    No
  • Shouldn't have to
  • Whatever you're using to manage your DNS should allow you to do a 301 redirect and generally that should be it πŸ€”
  • uunicode-1346990340648734770

    unicodes

    9 days ago

    I have a redirect to www. to no www but isn't working
  • uunicode-1347150595135504454

    unicodes

    9 days ago

    In my DNS the www is redirected correctly to non WWW but still having this issue. The tech guys from my domain, checked and is all right on the server, recommended to ask to Team toddle if there are some extra steps to do for adding WWW or maybe is something from their side.
  • uunicode-1347161555376017428

    unicodes

    9 days ago

    @Janis, is should be like this, A record name is myapp.com. TTL 14400 (this is what I have) - type: A - Record the IP from toddle. In CNAME you have to add www.myapp.com TTL 14400 type CNAME Record add myapp.com.
    πŸ‘1
  • uunicode-1347161934432178227

    unicodes

    9 days ago

    I'm not sure if TTL change for you, but is you server generates something different just use what generates for TTL.
  • building_stuff-1347307356546928751

    Janis

    8 days ago

    Thanks @unicodes - I tried that but I get a 421 misdirected request error again, not sure what i'm doing wrong. will give it a few more minutes to propagate but i think i might need to reach out to the support to clarify
    1347307356354117633-image.png
  • uunicode-1347309302477754408

    unicodes

    8 days ago

    Usually takes hours to propagate. I would recommend to contact your server support.
  • building_stuff-1347309434757578752

    Janis

    8 days ago

    Yes, I'll wait for a bit longer and otherwise reach out to the support team. Thanks for your help though!
  • uunicode-1347309957397090377

    unicodes

    8 days ago

    Just a quick update regarding my case, it doesn’t work with 'www.' I’m not sure if the issue is on my server or with Toddle, but everything is set up correctly on my server. I contacted support and double-checked everything, and it all seems fine.
  • building_stuff-1347469987102588969

    Janis

    8 days ago

    Hey again, I just checked my site again and I'm almost there. I managed to set the redirect but when i type in www. i get a "this page is unsecure" warning. But at least it is redirecting - so on to the next step trying to solve the https issue
  • uunicode-1347489672045268994

    unicodes

    8 days ago

    Mee too. And also I have checked all certificates and all are right (new generated). I also redirected to HTTPS which is the secure one but nothing.
  • building_stuff-1347496762855653377

    Janis

    8 days ago

    Hmm okay - yeah i just cant find the issue. I'm 100% sure we're missing something stupidly simple though haha
  • Tod-1347496764625649725

    Tod

    8 days ago

    Great energy @Janis! Your continuous contribution to the toddle Community just made you advance to Community Level 9!
  • building_stuff-1347496814928203799

    Janis

    8 days ago

    Did you already reach out to someone from team toddle?
  • building_stuff-1347497830763466763

    Janis

    8 days ago

    Hej @Erik Beuschau hvordan har du det? Hope it's okay that I tag you directly πŸ™ @unicodes and I are both struggling with setting up a custom domain for our projects. We both managed to do it for the apex domain with an A record, but we cant figure out how to redirect www. to the apex one. Would it be possible that you or someone else from toddel takes a quick look. Tusind tak!
  • uunicode-1347501867709632633

    unicodes

    8 days ago

    This is a screen shot how it looks for me the CNAME for redirecting the WWW, redirect to HTTPS is on and all certificates alt set up.
    1347501867474747424-Screenshot_2025-03-07_at_11.29.29.png
  • building_stuff-1347504214280114228

    Janis

    8 days ago

    I think it's working now for me. With IONOS, I had to manually create the www. subdomain, then configure the redirect and set up a seperate ssl certificate for the www subdomain. not sure if that is how it's supposed to work, but for now it's seems to redirect just fine
  • building_stuff-1347504473274056766

    Janis

    8 days ago

    Which registrar are you using?
  • max.kayr-1347507392933400666

    Max

    8 days ago

    Hey guys! I think you might be overcomplicating things 😊
  • You don't need a redirect. You can add two domains to your toddle app:
    apex and www
    1347507569505337424-image.png
    ❀️1
  • max.kayr-1347507822384123994

    Max

    8 days ago

    Then two DNS entries:
    A record to apex
    CNAME record for the www one
    1347507822182662226-image.png
  • Toddle (Cloudflare) will then generate the SSL certificates. This can take a few minutes
    πŸ’‘1
    πŸ™1
  • building_stuff-1347543341658542190

    Janis

    8 days ago

    no way πŸ˜„
    1347543341448958015-Screenshot_2025-03-07_at_13.15.54.png
  • Thanks a lot @Max that did the trick πŸ™ˆ
  • max.kayr-1347544374522806343

    Max

    8 days ago

    No Problemo 😊 thought you can learn from my path of suffering πŸ˜„
    ❀️1
  • Now that Toddle supports A records, it has become quite easy and you don't need to redirect anymore
    πŸ™Œ2
  • building_stuff-1347545644180705371

    Janis

    8 days ago

    Yes it works! @unicodes Try Max's suggestion above, it worked like a charm for me
    ❀️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.