Topic: How do I create and use a "hosts" file

I read that to test that a website works (before transfering the domain name) that it is helpful to use a hosts file. I read your wiki article "How to Use a Hosts File here: http://wiki.ocssolutions.com/How_to_use_the_Hosts_File . However, there is no Hosts file in the Etc/host directory of my website.  How can I create one to test out my Drupal websites (after I get them uploaded)? What should they be named, and what is the extension of the file name? Should the file have anything in it besides those two lines of code list on : http://wiki.ocssolutions.com/How_to_use_the_Hosts_File

67.15.64.79 yoursite.com
67.15.64.79 www.yoursite.com

Best Wishes,
Stephen

Re: How do I create and use a "hosts" file

The hosts file is on your local computer.

On a Windows machine, it can be found at:

C:\Windows\System32\drivers\etc\hosts

It has no extension, its just a plain text file.

On Linux and Mac it can be found at:

/etc/hosts