I own my own domain name E.G. website.com I have a mosquitto MQTT broker running on a Windows 10 machine. I have forwarded port 1883 and it's currently running just as expected if I use my public IP address as the host E.G. 12.345.678:1883. When I add this as a redirect to my subdomain E.G. mqtt.webite.com I cannot connect.
I'm brand new to this and have been fudging my way through this setup and this part I can't figure out. I'm assuming it has something to do with the web host protocol being HTTP and not MQTT but I don't know nor do I know how to change it.
Any ideas how to use a subdomain to point to my brokers IP address/port?