I installed ISPConfig and it works as follows: Machine 1 = Debian12 + ISPConfig without DNS. Machine 2 = Debian12 + ISPConfig with primary DNS only Machine 3 = Debian12 + ISPConfig only with secondary DNS Internal IP: 192.168.1.xx1, 192.168.1.xx2 and 192.168.0.xx3 Machine 1 and 2 are on the same site, machine 3 is on another site, joined by a wireguard VPN. Everything working perfectly. My doubt arose from the need to expose an internet service on another machine that is on the same network as machine 1 and 2. The machine's IP would be 192.168.1.xx4 The service runs on port 8096. Is there a possibility with ISPConfig, using DNS, to expose this service in a subdomain? Something like service.mydomain.com? I tried to do something with SRV, but without success. Thanks in advance for your help.
Straight forward method would be add service.mydomain.com to DNS, with public IP that can be accessed from Internet. Then in your router or firewall forward traffic coming to this IP to port 8096 to that internal host. If you can not get extra IP-number for this, users would need to include port number to the URL, then you can forward traffic coming to port 8096 to port 8096 on that internal network host. I'm not sure SRV record would work with any service. If you tried it, what did you set up? In what way did it not work? How did you test it does not work?
Hello Taleman. The Service I want to expose is Jellyfin on my docker server, which is running on debian12. Jellyfin uses UTP, so it should work with SRV records. In DNS, click on the green SRV button Hostname: _media._tcp Target: 192.168.1.xx4 Weight: 1 Port: 8096 Priority: 1 TTL: 3600 Active: checked And that's how I tried, but it doesn't work. I saw that it could be done by Apache too, instead of DNS, so I tried it like this: https://forum.howtoforge.com/threads/redirect-subdomain-to-specific-port.64147/#post-306618 But it did not work It even redirects to the correct server: 192.168.1.xx4 But not for the correct port, which would be 8096 and not 80 was displayed. In reality, I don't need it to be done via DNS, I just posted it at the beginning because I thought it would be easier. Is there any way to get the result I expect?
What does not work? Can you query the data from DNS to see if it got entered there? How are you accessing that service? Is the port reachable? You have not said what result you do expect. The method I wrote in #2 should work.
Using the port, which would be something like service.domain.com:8096, already works, and that's exactly what I don't want. I just want to redirect a service on my network, so that it can be accessed without the port, service.domain.com I have no way of getting a second external IP, which is exactly why I need the redirection.
That is the first time in this thread you said that. It would have been useful to have said that in the beginning.