Custom Media on players will work with IPs, but not with a CNAME or A/AAAA pointing to the IP

I have a question regarding custom media in condos; specifically I’m trying to do this on my dedicated condo, but I’ve also been trying on a local condo throw up in single player mode. For a few years now I’ve been trying to work this out, but cannot find a way to accomplish it.

I have my own domain; one of the subdomains I have configured serves a shimmie2 (booru board) instance, which supplies my own image hosting for canvases in my dedicated condo; both are running in seperate docker containers on a dedicated server I have, under a hypervisor (unraid).

I have been trying to figure out a way to play custom media; I have the codec down pat now, but cannot get anything to play with my domain, using a subdomain for another docker server, this one just an nginx server, set up to allow direct files to the media I have, in WEBM format.

If I format the links into the media players in my condos like http://<IPv4>:<port>/path/to/file.webm it worked, but it would never work with my domain, like https://my.domain.com/path/to/file.webm even though the domain would point straight to the IP address. I tried both as a CNAME to the A record I was updating for the base domain, with an nginx proxy manager set up in another docker container to serve requests for the subdomain to the docker container that actually has it.

These days I’m now on Starlink (thank god, good riddance Spectrum-Charter, I sincerely wish they would actually fix all the crap around me that’s been broken since they laid it out 50 or 60 years ago), so I’m now trying with http://<IPv6>/path/to/file.webm and https://my.domain.com/path/to/file.webm instead, but I’m finding the same things.

With the IP addresses, it works perfectly fine, playing in game for anyone that can do native IPv6 resolution themselves, and resolving in my nginx access.log files as <External IPv6 address> - - \[11/Jul/2026:10:48:49 -0400\] "GET </path/to/file.webm> HTTP/1.1" 206 14723346 "media-cache.towerunite.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Tower/++UE4+Release-4.22-CL-0 UnrealEngine/4.22.3-0+++UE4+Release-4.22 Safari/537.36", but when I try with the domain name, no matter how I format it (including as a straight AAAA to the IPv6 GUA that the docker container itself has, for the nginx server), it will never produce anything in my access.log or my error.log file

Does all custom media end up going through that media-cache address, and if so, is there some kind of like domain whitelist that would explain why it doesn’t resolve my subdomain/domain for the media players, but nothing has ever been an issue with my image hosting, likely because there’s no cache there, and its on end-clients to resolve it?

The domain itself does load as direct files, and will play in web browsers. I would of course, be happy to share (in private) specifics regarding the domain I have, the subdomain I’ve had set up to try to get this working, how I’m routing said DNS records for this as well as my self-hosted image server, using cloudflare, etc. if it would be able to help me narrow it down.

I checked out my domain configuration and I’m currently not using any public records, I’m using Cloudflare Tunnel on my server. When I had made that initial post with the roundabout instructions I was just using a free A record no-ip domain, though.

Hrm, interesting - I know how to set up tunnels with cloudflared/zero trust - gone ahead and stopped my ddns writer for the subdomain I’m using, deleted the DNS record for it manually, and set up the tunnel to use it instead.

With the published application route on the tunnel in cloudflare, its working in the browser still, but still refuses to playback in game. Using the current ipv6 gua still works for the exact same path/file :sob:

I know you mentioned your friends can play your video in their browsers, but have you had anyone else try loading your hosted video on a Tower Unite player?

I did; I had two friends both able to open the link in their browsers and paste it into the game, after I made them media admins, and it was still just a blank, black screen

edit: I’ve got multiple files/links I’ve been trying with as well, not just one file. For each, I can get it to work if I format the link with the ipv6 address, but not with the domain

What about any Cloudflare security settings, do you have any events that show under there? Maybe the mediacache fetcher from TU is getting blocked by some kind of bot filter? The thing is that I have Bot Prevention and other security features enabled and I don’t have issues with them on. But your issue is completely isolated to the domain, so it HAS to be something in your host’s portal.