Hi guys,
Been trying to figure this out on my own but can't seem to get it to work.
I'm using the Asus RT-AC66U with 3.0.0.4.374.32 merlin build (thanks for your awesome firmwares!).
My setup is straightforward. I have my ISP modem in bridge mode connected to the router's WAN port and then on my local network 4 computers. I use the DHCP server to assign specific IPs to each computer. One of my computers is my development debian server. Its hostname is "DEV".
I access my development websites by adding .dev.local to the url. So for example http://www.mytestdomain.com.dev.local will do a lookup on my debian server and then nginx picks the ball up from there and it works.
Currently I get this done by manually editing the hosts file on my work computer and pointing each website address manually to the debian's server static ip.
I'd like to get rid of this step and simply have all URLs ending in .dev.local automatically do a lookup on the debian server without having to add new entries to my hosts file on my work computer.
So far I've tried adding "local" as the domain name in the LAN / DHCP config section where it says "RT-AC66U's Domain Name".
Since my server's hostname is already "dev" then I thought this might be enough.
But going to http://www.mytestdomain.com.dev.local doesn't work and I can't ping that domain either it says "cannot resolve, unknown host".
I was about to run the command "dnsmasq -b" on the router but haven't done that yet because frankly I don't properly understand what that does. But apparently it's a feature which is enabled by default on WRT firmwares but not on the asus or merlin builds? I read this on this forum somewhere.
Can someone explain how to get this to work please?
Thanks much!
Been trying to figure this out on my own but can't seem to get it to work.
I'm using the Asus RT-AC66U with 3.0.0.4.374.32 merlin build (thanks for your awesome firmwares!).
My setup is straightforward. I have my ISP modem in bridge mode connected to the router's WAN port and then on my local network 4 computers. I use the DHCP server to assign specific IPs to each computer. One of my computers is my development debian server. Its hostname is "DEV".
I access my development websites by adding .dev.local to the url. So for example http://www.mytestdomain.com.dev.local will do a lookup on my debian server and then nginx picks the ball up from there and it works.
Currently I get this done by manually editing the hosts file on my work computer and pointing each website address manually to the debian's server static ip.
I'd like to get rid of this step and simply have all URLs ending in .dev.local automatically do a lookup on the debian server without having to add new entries to my hosts file on my work computer.
So far I've tried adding "local" as the domain name in the LAN / DHCP config section where it says "RT-AC66U's Domain Name".
Since my server's hostname is already "dev" then I thought this might be enough.
But going to http://www.mytestdomain.com.dev.local doesn't work and I can't ping that domain either it says "cannot resolve, unknown host".
I was about to run the command "dnsmasq -b" on the router but haven't done that yet because frankly I don't properly understand what that does. But apparently it's a feature which is enabled by default on WRT firmwares but not on the asus or merlin builds? I read this on this forum somewhere.
Can someone explain how to get this to work please?
Thanks much!