Home Guides Glossary

Preview Your Website Using Host Files

Adding entries to your hosts file lets you view the files you uploaded to your hosting account before changing your domain's nameservers. To do this, add your hosting account's IP address as an entry on your computer's host (your computer). Where that files is depends on your operating system (OS):

OS Host File Location
Windows (8, 7, XP, etc.) c:\windows\system32\drivers\etc\hosts
Macintosh OS X /etc/hosts
Linux /etc/hosts

Now, add an entry for your domain/hosting account using the following format:

[your account's IP address] [your fully qualified domain name]

For example:

12.0.0.1 coolexample.com

You can also add the www version of your domain. You can add that version to the same line, like so:

12.0.0.1 coolexample.com www.coolexample.com

How you find your IP address depends on the type of hosting account you're using:

After your domain propagates be sure to remove the entry from your hosts file. If you do not remove the entry and change plans or servers in the future, you will not be able to view your Website.

We do not support modifying your system files, do so at your own risk.

Domain Registration

Pay less for website domain names. Register your own .com, .net or .org for as low as $10.18 per year. We have everything you need to get online with your new domain.

Website Builder

Build an amazing website in just under an hour with Website Builder. Take advantage of designs created just for your industry and then customize them to reflect your one-of-a-kind idea.

Website Security

Protect your website and keep customers safe. Your comprehensive Website Security solution. Get peace of mind by securing your websites.

cPanel Hosting

Everything needed to give your website the high-performance home it deserves.  Protect transactions and secure your customer's data with a SSL Certificate
Copyright © 2005 - 2024.  All rights reserved.  Privacy Policy