Skip to content
Help Center

I need to view my domain without installing Bacan's DNS

I'm in the middle of a migration to your servers, but before changing the DNS I want to verify that everything is working on your hosting. How can I do this?

If you need to access your hosting without changing the DNS, you can do so by editing the hosts file on your computer.

The hosts file on a computer is used by the operating system to store the mapping between internet domain names and IP addresses. It's one of several methods the operating system uses to resolve domain names.

Location of the hosts file

The location of the hosts file varies by operating system:

Operating System Path
Windows 95 / 98 / Me C:\Windows\hosts
Windows NT / 2000 C:\WINNT\System32\drivers\etc\hosts
Windows XP / 2003 / Vista / 7 / 8 / 10 / 11 C:\Windows\System32\drivers\etc\hosts
Mac OS / iPhone OS /private/etc/hosts
Unix / Linux / BSD /etc/hosts
Android /system/etc/hosts

Format

  • Enter the IP address the name should resolve to, followed by one or more spaces or tabs, then the internet domain to resolve.
  • Lines beginning with # are treated as comments and are ignored.
  • Blank lines are also ignored.

A valid example of a hosts file entry:

#Domain installed at Bacan
69.195.140.154    www.mydomain.com

All lines in the hosts file can be safely deleted except the line 127.0.0.1 localhost, which is needed for some programs to work correctly.