Screaming fast SSD-based web hosting platform for your website.
Speed, security and expert support for WordPress powered websites.
Manage multiple hosting accounts on our web hosting platform.
Simple, Reliable, and Fast Cloud VPS Hosting Environment with High Performace.
Simple, Reliable, and Fast Cloud VPS Hosting Environment
Whatever your website or application needs, we’ve got you covered. Enjoy 100% in-house support, guaranteed performance and uptime, 1-click installs, and a super-intuitive control panel to make managing your websites and projects easy.
Using your computer’s hosts file will allow your computer to override the results of a typical DNS query and instruct your computer to always load your website from a specific server or IP address. This can come in handy after migrations as you might want to test how your website works on a different server before changing the DNS or in case the DNS hasn’t propagated yet.
There are a few different ways to preview your site before switching the DNS to your BrickellHost server. The most accurate way to preview your site from our platform will be to use your local computer’s hosts file. There are also some free online tool options for beginners if you aren’t feeling comfortable editing your hosts file.
For you to be able to preview a website from a specific server you will need to know the IP address that is assigned to the server hosting your website. If you are a BrickellHost customer, the server IP address can be found under Services tab, in your Dashboard.
Once you have located your server’s IP address, you can use the following instructions to preview your website before changing your DNS using your computers hosts file.
Windows 10 and Windows 8
When the file opens, you will see two columns of information, the first column contains IP addresses and the second contains hostnames. By default, a Windows hosts file should be similar to the following:
You can add additional lines to this file that will point requests for a particular domain to your new server’s IP address. Example:
6. Select File > Save to save your changes.
7. You will need to close and reopen any pages you had open in your browser.
8. Open your browser and visit your new site.
In macOS, the hosts file is located at:
The instructions below are valid for all macOS versions.
Use Command + Space and enter: “Terminal”. In your terminal window, open the hosts file using your favorite text editor, like nano or vi. We are using nano, below:
sudo nano /etc/hosts
When prompted enter your administrative password.
Scroll down to the end of the file and add your new entries. Add your domain and the server’s IP address to the bottom of the file. For example:
# Host Database
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
126.96.36.199 domain.com www.domain.com
188.8.131.52 otherdomain.com www.otherdomain.com
Press “Control + X” to exit when you are done modifying the file. Type “Y” to save, press “Enter” and quit.
In Linux, the hosts file is located at:
The instructions below are valid for Linux distribution, including Ubuntu, CentOS, RHEL, Debian and Linux Mint.
In your terminal window, open the hosts file using your favorite text editor, such as nano or vi. We are using nano below:
When prompted enter your sudo password.
Save the changes and visit your new site.
By now you should have a great understanding of how the hosts file works and how to make modifications to the file. If you want to undo the changes, simply open the file and remove the lines you added.
If you are experiencing any difficulties while using hosts file, please don’t hesitate to get in touch with our support team by live chat or by creating a support ticket.
If you’re not completely happy within your first 30 days with us, we’ll refund your money. No hassle, no questions asked.
We are one of the few privately owned, independent web hosting companies nowadays. From a humble beginning we evolved into the first choice for web hosting services of more than 20,000 personal, small-business and large website owners.
Copyright © BrickellHost. All Rights Reserved.