[ManagedHosting] [SelfHosting] How to access AMIMOTO server before I modify DNS?

This document guides you how to access AMIMOTO server before switching/modifying DNS servers, or without setting DNS servers.

We will use hosts file which describes the correspondence between IP address and hostname (domain) and is a very information priority than the DNS. By changing the host file, you can check the operation without switching the DNS at the time of moving the work of the site

Note: you should not input $ or # placed on the first letter of each command

 

Format of hosts file

IP-address-of-AMIMOTO  [four or more white spaces ] your-domain-name

Example:

54.230.111.6    amimoto-ami.com

 

Steps

Mac OSX

  • Modify hosts file using Terminal.app
  • Modify hosts file using hosts editor
Modify hosts file using Terminal.app

To modify hosts file, start the Terminal.app and run the following command. The Terminal.app will ask you the password of the administrator of your Mac, you should input ant hit [return] key.

$ sudo vi /etc/hosts

To save changes, hit [ESC] key then pushing [Shift] key and hit [Z] key twice.

 

Modify hosts file using hosts editor

Gas Mask is the easiest hosts editor

 

Windows

The following links may help your editing hosts file.

Modify hosts file using hosts editor

Hosts File Editor is the easiest hosts editor

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk