I’ve had my domain troff.xyz for a couple of months now, hosting it on GitHub pages without any issues. Until today.
Today I decided it was time for something new. I decided to hook my new project up to my domain. I’m running a webserver on my computer (to clarify: I am hosting my own page), and I’ve configured my router to locally port-forward all incoming connections from port 8288 to the port that I’m using to run my webserver on my computer.
Connecting directly via my public/external ip, appending :8288 to it (18.104.22.168:8288) works completely fine. What I want is for my domain (troff.xyz) to point to my IP. I’ve come to realise that it is not possible to use an A record to forward to a certain port on an IP address, but I had hoped that by using a SRV record, putting it on root with port 8288 and target 22.214.171.124 (my external ip), that would work. But it does not.
Trying to access my site via troff.xyz gives me no information except “522 timed out”, and my server is not receiving any requests. If you have any ideas, please let me know.
Is it even possible, what I’m trying to do? Do I need to choose another port? Is my current port not compatible? If so, shouldn’t I get another error? Is my best bet just exposing my webserver on port 80, but I’d rather not to avoid webscrapers and other annoying stuff since it is my personal/home ip-address.
Thanks in advance