I personally have the complete opposite experience with under-screen scanners. As in, it’s literally the only type that works reliably for me. Before I got my samsung s22+, I never even realized that Android asks you for your pattern every 2 days because I had to manually unlock my old phones so often.
Minecraft can read a special DNS record type called SRV records. You can create a record like that to point Minecraft to a port that the server is running on. It doesn’t even have to have the same ip as the webserver.
This is for Namecheap, but the general principle applies everywhere: https://www.namecheap.com/support/knowledgebase/article.aspx/9765/2208/how-can-i-link-my-domain-name-to-a-minecraft-server/