PiHole - DNS to Different ports

Hi there,

So, at the moment I have PiHole running on Raspberry Pi 4 on a Docker with Ubuntu Server 20.10.
The pihole it's configured to run as as DHCP and DNS. The Docker also has a Portainer, and in the future will have others applications as well, the point is, today if I go to my personal machine and type on the browes http://pi.hole (192.168.0.10:80) it goes to the ADMIN of PiHole, I was wondering if i could configure to when I type http://portainer.home (192.168.0.10:9000) goes to the admin portal of Portainer who is running on a Container inside the same Docker as my PiHole.

So at the moment I have:
http://pi.hole -> 192.168.0.10:80
http://mypc.home -> 192.168.0.50:80

And I want:
http://portainer.home -> 192.168.0.10:9000

And if it possible any of the below:
http://mynewsoftware.home -> 192.168.0.50:8080
http://software.mypc.home -> 192.168.0.50:8181

Domain names can only resolve to an IP address, it can not return any ports.

And could I have more than onde domain name to the same IP?

What you're looking for is a reverse proxy.

Nginx, traefik, caddy are all products that will help you with that. As you're running docker, look at traefik, I use that and it is quite nice.

Yea, will do, thanks for you help. Next point is pihole block page and a captive portal for users that don't have an IP reserved by MAC, so for Guest, any tips about it?