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.




15109 posts

Uber Geek

Trusted
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
3302 posts

Uber Geek

Trusted

  # 1371047 20-Aug-2015 18:49
One person supports this post
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.



15109 posts

Uber Geek

Trusted
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.

 
 
 
 


894 posts

Ultimate Geek

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.



15109 posts

Uber Geek

Trusted
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.

894 posts

Ultimate Geek

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.




15109 posts

Uber Geek

Trusted
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



Twitter and LinkedIn »



Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Facebook Portal to land in New Zealand
Posted 19-Sep-2019 18:35


Amazon Studios announces New Zealand as location for its upcoming series based on The Lord of the Rings
Posted 18-Sep-2019 17:24


The Warehouse chooses Elasticsearch service
Posted 18-Sep-2019 13:55


Voyager upgrades core network to 100Gbit
Posted 18-Sep-2019 13:52


Streaming service Acorn TV launches in New Zealand with selection with British shows
Posted 18-Sep-2019 08:55


Bitcoin.com announces partnership with smartphone manufacturer HTC
Posted 16-Sep-2019 21:30


Finalists Announced for Microsoft NZ Partner Awards
Posted 16-Sep-2019 19:37


OPPO Showcases New CameraX Capabilities at Google Developer Days China 2019
Posted 15-Sep-2019 12:42


New Zealand PC Market returns to growth
Posted 15-Sep-2019 12:24


Home sensor charity director speaks about the preventable death which drives her to push for healthy homes
Posted 11-Sep-2019 08:46


Te ao Maori Minecraft world set to inspire Kiwi students
Posted 11-Sep-2019 08:43


Research reveals The Power of Games in New Zealand
Posted 11-Sep-2019 08:40


Ring Door View Cam now available in New Zealand
Posted 11-Sep-2019 08:38


Vodafone NZ to create X Squad
Posted 10-Sep-2019 10:25


Huawei nova 5T to be available 20th September
Posted 5-Sep-2019 11:55



Geekzone Live »

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


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



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.

Alternatively, you can receive a daily email with Geekzone updates.