How does hypixel have their website and minecraft server on their root domain? (I would like to do something similar)
How does hypixel have their website and minecraft server on their root domain? (I would like to do something similar)
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?
Yes
Good to know i was right, i will now carry this newfound confidence into every subject
Yes, and Minecraft is TCP not http
HTTP is TCP. And I'm pretty sure Minecraft uses UDP?
You are sort of right
TCP is on layer 4 of the OSI model. Http is layer 7 which runs on top of layer 4 (TCP)
In sort Minecraft and http are both tcp
TCP is the way that you send information, HTTP is what it means.
The difference, in your case, is the port. You
can'tCAN have TCP and UDP on the same port, but you can't have the same protocol on the same port.edit: I didn't knew you could have different transfer protocols on the same port, ty!