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 /private/etc/hosts
Linux /etc/hosts

Note: You may need to make a copy of your hosts file to another location to make the changes then copy it back.

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:

Warning: 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 site.

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


이 글이 도움되었나요?
피드백을 보내주셔서 감사합니다. 고객 서비스 담당자에게 문의하시려면 지원 전화 번호 또는 위의 채팅 옵션을 이용하시기 바랍니다.
도와드릴 수 있어 기쁩니다! 더 도와 드릴 것이 있나요?
그것 유감스럽습니다. 혼동이 되었던 사항 또는 솔루션이 고객님의 문제를 해결하지 못했던 원인을 알려주세요.