A strong ally for rewriting hosts! "Hosts File Manager"

My name is Ito and I'm an infrastructure engineer.
When transferring a server that you're currently using, the IP address of the new server is not linked
to the domain name, so when you access the domain name, you see the "server you're currently using."
In such cases, the hosts file is used to link the domain name and IP address of the new server only on your 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

When you start it after installation, the following screen will appear.
(It has already been configured, so it may be slightly different if you are using it for the first time.)

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 IP address and domain of the new server in the host name field.
(Of course, the IP and domain entered 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 will not be reflected in this state, so click "Save Overwrite."
If administrator privileges are required, you will be notified, so 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 introduced above makes it easy to manage the Hosts file settings, but
there are some other useful features.

It is the checkbox to the left of each Hosts setting.
Checking or unchecking the checkbox allows you to enable or disable the settings in the hosts file.
*Please note that after setting the checkbox, the settings will not be reflected unless you save the file overwritten*

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 transferring a server, you often need to use the hosts file,
and editing the hosts file every time can be time-consuming.

Using these handy tools will help you work a little more efficiently, so
be sure to check them out!

The download page is below:
Hosts File Manager

If you are having trouble transferring your server

Since our founding, Beyond has used the technical expertise we have cultivated as a managed service provider (MSP)
to design, build, and migrate services using a variety of cloud/server platforms.


We will provide you with an optimized cloud/server environment based on the specifications and functions of the system or application you require

● Cloud/server migration/migration

If you found this article helpful , please give it a like!
0
Loading...
0 votes, average: 0.00 / 10
8,612
X facebook Hatena Bookmark pocket

The person who wrote this article

About the author