0

I am currently setting up a little home lab and I am trying to figure out how to kind of pin some local subdomains to a specific port. Example: I have Adguard running on port 80 (domain.home) and Homer running on port 85 that I would like to access through dashboard.domain.home. Do I need some kind of a dns rewrite in adguard? right now I have a dns rewrite dashboard.domain.home pointing to domain.home (don't know if it makes any sense, maybe I didn't understand the adguard docs correctly) and everytime I access dashboard.domain.home I end up on the Adguard login page (which is kind of correct because of the rewrite I guess). My apache config for homer looks like this:

<VirtualHost *:80>
    ServerName dashboard.domain.home
    ProxyPreserveHost On
    <Proxy *>
        Order allow,deny
        Allow from all
    </Proxy>
    ProxyPass / http://192.168.178.138:85/
    ProxyPassReverse / http://192.168.178.138:85/
ServerAdmin webmaster@localhost
DocumentRoot /var/www/homer

</VirtualHost>

I am kinda new to apache, never really had to use that. I would appreciate any help

Pakuss
  • 1

0 Answers0