hey folks!

finally starting with my homelab and i have adguard and homer up and running! i am having a couple of issues however, and i haven’t really found much that makes sense to me yet (sorry - super new!):

i’m on ubuntu server FWIW

initially, i could only access the adguard web interface via the ip with the port number - i.e. 10.0.0.1:3000; after i started up Homer, though, i could only access it without the port. not sure this is so much a problem, but i think it may have some impact on my actual problem, which is:

i want to configure domain names for the services on my intranet, so i initially tried to use adguard to do this. my first problem arose when i couldnt type port numbers in the DNS rewrite, so i couldn’t access my homer via DNS because that IP only redirected to my adguard. due to this, i read that possibly setting up nginx proxy manager and creating a reverse proxy would be good practice so that the proxy could divvy up the domain names itself. so i spun that up in docker, but now i can’t start adguard because port 443 is taken by nginx (which i thought could solve this port conflict issue?) - any idea how i can go about this to allow both adguard to run with nginx and help solve my domain name issue with nginx?

i’m just looking for some general direction to help my understanding - definitely don’t want y’all to do homework for me haha; and apologies if these are dumb questions - genuinely just trying to skill up in linux b/c this is the first time i’ve seriously used it

  • echutaa@programming.dev
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    I’m not familiar with homer so I can’t say if that would need any configuration but a general outline of what you want to do would go like this:

    You want to run adguard on another port and let your reverse proxy manage ports 80 and 443. After that make sure your machine/network is using adguard for its dns and write your domains to the machines IP and the applications port. If adguard doesn’t support ports like you seem to think then find another dns service to use that does. It’s been a minute but I think I remember pihole having that functionality. Then configure your reverse proxy to route domains to localhost ports and configure ssl certs if needed.