A powerful tool for rewriting hosts! "Hosts File Manager"

I'm Ito, an infrastructure engineer.
When migrating a server you're currently using, the IP address of the new server and the domain name aren't linked, so
when you access the domain name, you'll see the "currently used server."
In such cases, the hosts file is used to link the domain name and IP address to the destination server, at least on your own PC.

The hosts file is located in the following directory, and editing it can be a bit of a hassle

%systemroot%system32driversetchosts

We'd like to introduce you to "Hosts File Manager," a piece of software that allows you to conveniently manage hosts files, which can be a bit of a hassle to edit!

Settings and usage

Host File Manager can be downloaded from the following page

Hosts File Manager

After installation, launching the application will display a screen similar to the one shown below.
(This may differ slightly for new users, as the settings are already configured.)

SnapCrab_hosts - Hosts File Manager_2016-1-12_11-43-32_No-00

First, open your current hosts file
SnapCrab_NoName_2016-1-12_11-51-6_No-00_011216_115427_AM

Add a record
SnapCrab_NoName_2016-1-12_12-8-4_No-00_011216_120937_PM

Enter the domain name in the IP address and hostname fields for the new server.
(Of course, the IP address and domain name shown below are fictitious.)
SnapCrab_NoName_2016-1-12_12-12-28_No-00

Click OK and you will see that the record has been added
SnapCrab_NoName_2016-1-12_12-34-27_No-00_011216_123522_PM

The changes won't be reflected yet, so please "Save" them.
If administrator privileges are required, you will be notified, so please click "OK".
SnapCrab_NoName_2016-1-12_12-36-52_No-00_011216_123852_PM

If you actually look at the hosts file, you can see that the settings have been reflected!
SnapCrab_hosts_-_Notepad_2016-1-12_12-42-36_No-00_011216_124407_PM

Convenient location

The method I described makes it easy to manage settings in the Hosts file, but
there are still other convenient features.

These are the checkboxes to the left of each Hosts setting.
The presence or absence of these checkboxes enables or disables the settings in the hosts file.
*Note: After making changes to the checkboxes, you must save the file for the changes to take effect.*

SnapCrab_NoName_2016-1-12_12-12-28_No-00

With the above setup, it will look like this:

Checkbox Domain name Connection destination
can be test.example.com 192.168.1.1
none test.example.com Original Server

The changes will be reflected or not depending on whether the checkbox is checked or not, making editing much easier

summary

When migrating servers, the hosts file is used quite frequently.
Editing the hosts file every time in such situations is time-consuming.

Using these handy tools should help you work a little more efficiently, so
please give them a try!

is below.
Hosts File Manager

If you are having trouble transferring your server

Furthermore, since our founding, Beyond has leveraged the technical expertise we have cultivated as a Managed Service Provider (MSP)
to design, build, and migrate systems using a variety of cloud and server platforms.

tailored to the specifications and functions of the systems and applications our customers require
We provide optimized cloud/server environments

● Cloud/Server Migration

If you found this article helpful,please give it a "Like"!
0
Loading...
0 votes, average: 0.00 / 10
8,754
X Facebook Hatena Bookmark pocket

The person who wrote this article

About the author