We provide you with an access domain name for every application in your control panel. This access name is composed by your application name and gearhostpreview.com (example: myapplication.gearhostpreview.com)
To find your access domain
You can visit sub folders for your site by adding them onto the end of the preview domain like any normal website folder.
To test your website with your own domain name before DNS propagation has completed, you can use your local computer's HOSTS file. Your computer will use the entries in your HOSTS file before it looks up the DNS information for your domain. This article contains instructions for editing the HOSTS file on Windows 95/98/Me/2000/XP/2003/Vista/7/8/8.1, and Apple's Mac OS X.
When you are finished testing, remember to remove the custom lines that you added.
GearHost is not responsible for custom configurations on your local computer. If you are uncomfortable with editing configuration files on your computer, please do not follow the instructions below.
Consider performing a "Save As" so you have an original copy of the file that you can restore later.
You will see two columns of information, the first containing IP addresses and the second containing host names. By default, a windows hosts file should be similar to the following:
127.0.0.1 localhost
You can add additional lines to this file that will point requests for a resource to your new applications IP address
127.0.0.1 localhost
107.154.50.60 example.mysite.com
107.154.50.60 mysite.com
107.154.50.60 www.mysite.com
Want to edit or suggest changes to this content? You can edit and submit changes to this article using GitHub.