Trying to figure out how to link a subdomain to a specific port.

Hey there. I run a minecraft server and I’m having a bit of issues figuring out the best approach to accessing ports using either subdomains or ports at the end of a url.

With both my servers they’re using an SRV record, so those are fine. However, with my admin panel and dynmap page, I can’t seem to get it set up either way.

I’d assumed that I could set up an iframe redirect, but I don’t see this in my Cloudflare DNS control panel. Googling iframe redirect cloudflare brought me to « page rules » but having gone through it, I don’t see anything useful. I can create a redirect but it just leads to the exposed IP address of the server.

I understand that I can create a reverse proxy server, but I am having the issue of not being able to locate the .htaccess file on Ubuntu 14.04 LTS and not understanding how to deal with creating a subdomain correctly at that point.

I’m guessing that I’d have to set up another SRV record and that the reverse proxy would deliver the html as expected? My understanding is that SRV records can’t process HTML and browsers would be incompatible with that information. I’m probably screwing this up very badly.

submitted by PutoGonzalez
[link] [4 comments]

Powered by WPeMatico