Hi, I have a website which can only be accessed by the devices in my LAN. For some reason the website can only be accessed through the IP (not public facing ip address) but if I try with the hostname I get connection refused. I have DHCP enabled so that my devices leases IPs to the connected devices. I have checked that the port is open and listening. My /etc/dnsmasq.conf has the following config:
Code:
interface=apX
dchp-range= least ip, highest ip, mask, 24h
address=/domain-name/domain-IP
dhcp-option=12,domain-name
dhcp-option=114,http://domain-name/
and /etc/hosts/ has (for IPv4) the following configuration:
Code:
127.0.0.1 localhost
domain-IP domain-name
Does anyone know why the resolve process is not working for my ip address? I would really appreciate your help.