DNS for the installed services

From B-Wiki
Jump to navigation Jump to search

Utilized framework

  • Unifi dream machine for the router
  • Local Server hosting:
    • Nginx Proxy Manager
  • External hosting server

How to

  1. Create an A record on the external DNS server.
    1. Enter Cpanel -> Zone editor
    2. Add Record
    3. Name: DNS_Name , TTL: 120 , Type: A , Record: <<external ip for the router>>
  2. Create an enty inside Nginx Proxy manager
    1. Access Lists -> create / update an access list
    2. Hosts -> Add Proxy Host
    3. Source: DNS_Name , Destination: <<internal ip for the service:port number>> , SSL: Let's Encrypt , Access: <<access_list>>
  3. Create DNS for the home router
    1. Unify -> Network -> Routing -> DNS
    2. Create Entry -> add -> Domanin Name: DNS_Name , Type: Host (A) , Ip Address / Host Name: <<ip for the nginx proxy manager>>