I've been reading and learning a lot from you, guys, but this is the first time I post a question here. This is the situation: - I've got several web servers (CentOS 7 + Apache), some of them vitualized with KVM and one physical, running in a local network. - This network connects to the Internet with a dynamic IP. - At the moment, I add a port redirection to the router in order to access the different web servers. E.g. if I need to access my web server at 192.168.0.33 I use mydomain.dyndns.org:8033, the router maps the external port 8033 with the internal port 80 of the 192.168.0.33 machine.
This is what I need: - I want to have a kind of intermediate service (bind9? proxy? vhosts? anything!) to act like a virtual host of apache to route domains to internal IPs. E.g. When I want to get to the web app at 192.168.0.33 I use just domain33.dyndns.org. - If is it possible, I'd like to be able to make subdomains too. E.g Use webapp1.domain.dyndns.org to get to a specific apache directory.
Sorry if it's a silly question and thank you in advance.
Regards,
Damon H.