Amahi as central local DNS for testing, or internal proxy?
Posted: Fri Nov 09, 2012 6:41 am
Hi all,
I'm basically looking for a way to manage local DNS entries all in one place (ie on the Amahi box!), rather than have to mess about with local "hosts" files on each machine and also having to use tools like Fiddler. Here's the basic issue...
I'm a developer, and I need to have test websites on my local network. So, say I have a test webserver running on my laptop that I want to access from other machines I have to do one of the following:
1) When accessing from another PC or Mac, I put an entry in the client machine's "hosts" file, pointing my test DNS (eg www.mytestsite.com) to the IP address of the hosting laptop
2) When accessing using an iDevice (or an Andriod Device) I need to point the WiFi's Proxy settings to my hosting laptop (using port 8888), and then I need to fire up the "Fiddler" application on my laptop. Fiddler then uses the local "hosts" file on my laptop to work out where to go.
It strikes me that I should be able to use my Amahi box for this, but I've no idea of the best way to do this! I've tried messing about with the "hosts" file on the Amahi box, but this doesn't seem to be picked up by the DNS. I've also tried setting up the domains in DNS using Webmin, but I just seem to get things into a complete mess this way.
I'm REALLY hoping someone can help here...
I'm basically looking for a way to manage local DNS entries all in one place (ie on the Amahi box!), rather than have to mess about with local "hosts" files on each machine and also having to use tools like Fiddler. Here's the basic issue...
I'm a developer, and I need to have test websites on my local network. So, say I have a test webserver running on my laptop that I want to access from other machines I have to do one of the following:
1) When accessing from another PC or Mac, I put an entry in the client machine's "hosts" file, pointing my test DNS (eg www.mytestsite.com) to the IP address of the hosting laptop
2) When accessing using an iDevice (or an Andriod Device) I need to point the WiFi's Proxy settings to my hosting laptop (using port 8888), and then I need to fire up the "Fiddler" application on my laptop. Fiddler then uses the local "hosts" file on my laptop to work out where to go.
It strikes me that I should be able to use my Amahi box for this, but I've no idea of the best way to do this! I've tried messing about with the "hosts" file on the Amahi box, but this doesn't seem to be picked up by the DNS. I've also tried setting up the domains in DNS using Webmin, but I just seem to get things into a complete mess this way.
I'm REALLY hoping someone can help here...