Frequently Asked Questions

Installating and using HostAdmin
Last Updated 3 years ago

Basic use of HostAdmin plugin for web browser is to make editing of hosts file on your pc easier.

Hosts file has priority over DNS when it comes to resolving domains to IP address and with its help you can adjust it in a way that certain website (or websites) opens IP address that you specifyinstead of address that you get over DNS. Of course, basic precondition for this is that on IP address that you did write into your host file is that the website really exists on that IP address.

In this tutorial we will show you how to install HostAdmin plugin and with its help access web site on IP address that currently is not "official" address of website that you can get through DNS.

Install plugin on your web browser:

Our suggestion is to use Firefox, since sometimes this plugin doesn't work on older versions of Chrome browser. Also, Mozilla is easier  to use.

Installation for Mozilla Firefox:

Click on add to Firefox.

1.png



Then window will appear for installation, click install.

2.png


After that you will need to allow rights for editing the hosts file, as it will be explained in the next part of this tutorial.


Installation for Chrome:

Click on add to Chrome.

3.png

New dialogue window will open, then click Add app.


4.png

After that you will need to allow rights for editing the hosts file, as it will be explained in the next part of this tutorial.


Setting up hosts file on Windows:


Open My Computer, then open partition where you have Windows installed ( in most cases it will be Local Disk (C:) ).
On disk open the following path: Local Disk (C:) > Windows > System32 > drivers > etc

5.png


After that, click on hosts file with the right click, then open Properties window.

6.png


Click on Security, chose Users and after that Edit.

7.png


Chose Users and check in Full Control checkbox, so you would give editing rights over hosts file to users.

8.png


After that, all that is left is to click OK on all windows.


Setting up hosts file on Linux:


Open terminal.

Copy the next command and execute it:
sudo chmod og+w /etc/hosts



Using hosts file


Chrome:
Open new tab, then in upper left corner Apps and after that open HostsAdmin app.

10.png

Mozilla Firefox:
In upper right corner of the window you can see HostAdmin logo, with blue and green colours. Click on it and after that on Editor.



Setting it up

New window/tab will appear, in which you will setup following items (we will use fictional data, you will have to customize them to your own):

# comment
#1.2.3.4 www.sajt.com sajt.com

Legend:
# - is a sign for comment and when it is put in front of any line, while line will be treated as comment and it wont affect on configuration.
1.2.3.4 - IP of the server that you want to open the website from
www.sajt.com sajt.com - you should always put www and non-www versions of website as we showed you in this example


You can activate/deactivate your new configuration in 2 ways:

  • Enter a new line in HostAdmin editor, write IP address and name of the websites following guidelines that we have already mentioned, and when you are done with editing, click on Save. If the line already exists, but is under comment, remove the sign for comment (#) from the front line where is the IP and the website it is pointing on, then click on Save.
  • If you already did add appropriate settings in HostAdmin editor, you can turn it on and off by opening HostAdmin menu and clicking in blank space left of IP. You will notice that it is ticked on, which means that the change of IP address of the website is active. Same way you can deactivate the change of IP address of the website.
13.jpg

14.jpg

After you finish with testing of the website, always put under comment everything that you changed in the hosts file.


Additional info: Flagfox is very useful addon for Firefox browser, as it has in extension of the field for address shows the icon of the country flag in which is located IP address of the website you are currently accessing. If you go over icon of the flag with cursor of the mouse, you will see IP address from which you accessed website from.

Please Wait!

Please wait... it will take a second!