1
1
I have web site being hosted on my computer, so that mysite.com
is served from one of my machines. However, even though everyone else can access this site normally, if I type its name (or, indeed, any subdomain such as x.mysite.com
), I can't get the site to show. Now, if I edit the hosts
file to redirect mysite.com
to 192.168.1.5
, everything is fine.
However, this is not a viable solution because then I need to edit the hosts
file on every machine on the network. So, my question: is there an easier way?
What router are you using? – mindless.panda – 2010-10-18T19:49:56.310
If you are using a Linux based router that runs dnsmasq, you can add a hosts file to that and it will work for all machines on your LAN. – paradroid – 2010-10-20T07:22:43.507
@mindless.panda a dlink router – Dmitri Nesteruk – 2013-04-22T18:08:35.997
@paradroid no idea if I have that, how can I tell? – Dmitri Nesteruk – 2013-04-22T18:08:57.047
@DmitriNesteruk You'd know if you did. Some routers can run third-party Linux-based firmware like DD-WRT, OpenWRT and Tomato. – paradroid – 2013-04-22T18:32:14.710