Hypixel.net is both their website and mc server adress.
Is it just that https is on port 443 and minecraft is on port 25565?
And if that is the case, can i do something similar by making a reverse proxy have two seperate server blocks for the one domain, with different ports?
Redirects.
If you try to connect to hypixel.net via port 443, it redirects you to the html page.
If you try to connect to play.hypixel.net via port 25565, it redirects you to the minecraft server.