sentriz / gonic

music streaming server / free-software subsonic server API implementation
ircs://irc.libera.chat/#gonic
GNU General Public License v3.0
1.58k stars 112 forks source link

Gonic v0.16.2 - resolve from subsonic web address? #447

Closed coacharnold1 closed 9 months ago

coacharnold1 commented 9 months ago

docker : 0.16.2

This is probably a silly easy problem, and I may be a bit ignorant to some of the networking vocab for the authentication issues. SO this may have been answered, i'm just not understanding how to word it correctly.

I am running subsonic at the moment. an account Ive been running for years. When I first installed subsonic, if you donated you would be able to use your username dot subsonic dot org as your address. Mine has never stopped working. I had always assumed that something in my subsonic server was communicating back to a main subsonic server reporting my IP daily. All I have ever needed in order to get my server is the http address. For me, "http:user.subsonic.org" immediately resolves to http:MyIP:4040 With GONIC is there a way I can fool all this and allow GONIC to work the same way?

I was thinking it would be simply to set up my router to forward to the GONIC port>computer

Any thoughts on the best way to implement all this for using GONIC? I prefer that gonic is up to date and being developed.

Thanks

Tim

sentriz commented 9 months ago

I don't know or remember how subsonic.org worked. but I would recommend buying yourself a domain, point the records at your server, setup a reverse proxy like caddy, and forward 80 and 443 on your router to your caddy 80 and 443 on your server inside the LAN

then you can browse with TLS like https://gonic.yourdomain.com without ever seeing any ports

sentriz commented 9 months ago

since its not directly related to gonic I'll close the issue but feel free to ask any more questions about reverse proxies or whatever here

coacharnold1 commented 9 months ago

thanks .... a project worth working on