My website, https://coolkids.gq, has a Minecraft server hosted on it as well as a web server. It hosts both Bedrock and Java versions of Minecraft (unrelated) and I’ve figured out how to do the Java side but I’m still stuck on the bedrock side as it doesn’t allow SRV records.
I want to be able to access both the webpage and the Minecraft server at
https://coolkids.gq. The Minecraft server uses port 19132 and the website uses ports 80 and 443 obviously.
When I go to HTTP or HTTPS ports it should take me to the main website, but when I use 19132 it will redirect me to another link that hosts the server, e.g.
myamazingserver.net. It would be preferred if it redirected to
myamazingserver.net:19132 but just
myamazingserver.net should work as well.
How, by using .htaccess, HTML, PHP or DNS could I achieve this?
Edit: Bedrock Edition does not support SRV.