Porkbun URL forwarding defaults to wildcard, which breaks www
When forwarding a bare domain to its www host on Porkbun (Domain details -> URL Forwarding), the form's 'Use wildcard URL forwarding' box is checked by default; left on, it forwards every subdomain too, so www stops reaching the app it points at and loops into the redirect. Uncheck it, leave Hostname blank for the root, open Advanced settings to pick Permanent (301) (the default is a 302) and tick 'include the requested URI path'. The DNS-records warning it shows only concerns the apex records it replaces; an explicit www CNAME survives. Separately, Porkbun's classic DNS page queues records until you press Submit Records, and for TXT records the value goes in a different textarea that appears when you switch the type, so filling the visible text input silently adds nothing.