Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


timmmay

20574 posts

Uber Geek

Trusted
Lifetime subscriber

#178958 20-Aug-2015 18:25
Send private message

I do quite a few little jobs where I move websites between servers. Before I change DNS I'd like to check that the new server will respond to the request with the correct content before I make the DNS change. I know I can make a change in my local hosts file, but that's a bit annoying. Is there a better way?

Create new topic
sidefx
3711 posts

Uber Geek

Trusted

  #1371047 20-Aug-2015 18:49
Send private message

I used this firefox plugin a fair bit a while ago (I can't recall why) 

https://addons.mozilla.org/en-us/firefox/addon/hostadmin/ 

I seem to recall it essentially automating the process of modifying your hosts file, so I'm not sure how well it fits what you're looking for, but might be worth a look.




"I was born not knowing and have had only a little time to change that here and there."         | Octopus Energy | Sharesies
              - Richard Feynman




timmmay

20574 posts

Uber Geek

Trusted
Lifetime subscriber

  #1371081 20-Aug-2015 20:05
Send private message

Seems to crash in the latest version. Guess I'll use a hosts file for now.

rphenix
985 posts

Ultimate Geek

Lifetime subscriber

  #1371648 21-Aug-2015 15:18
Send private message

Windows: I use fiddler2 set your browser to use it as a proxy, under tools it has hosts manager which you can tell it to replace certain host names with another hostname or ip address works well.  Wildcards on domain names are supported.

Linux I just run my own local dns server and edit that way.



timmmay

20574 posts

Uber Geek

Trusted
Lifetime subscriber

  #1371760 21-Aug-2015 18:06
Send private message

Fiddler, good idea, worth a shot. Seems like simply changing the hosts file may be the easiest way though.

rphenix
985 posts

Ultimate Geek

Lifetime subscriber

  #1371764 21-Aug-2015 18:29
Send private message

I find fiddler faster since it supports wildcards and you can toggle the DNS mapping off and on with one click rather than having to comment out multiple lines like I tend to have to in windows hosts file.
+ I can verify where  a page I just requested was actually pulled from which is a help since sometimes if you have the page open in another tab it keeps requesting from a host your not expecting after updating the hosts file.


timmmay

20574 posts

Uber Geek

Trusted
Lifetime subscriber

  #1371786 21-Aug-2015 19:13
Send private message

Sounds ideal. I used fiddler once before, something to do with HTTPS diagnosis.

Create new topic





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.