Miva Merchant Development, eCommerce Consulting, Web Design and Web Hosting e-Business Express

e-Business Express Support Services

Archive for the ‘How To’ Category

How To Edit the Hosts File using Vista

Wednesday, December 2nd, 2009

During the development stage if your site is not pointed to our servers you will need to setup your hosts file on your local computer to bypass DNS settings.

Edit the Hosts File

Non-frequent Edit

  1. Open Notepad with Administrative privileges by clicking Start, All Programs, Accessories, and then right-click Notepad and select to open as Administrator.
  2. Now that Notepad is open with Administrative privileges browse to (C:\Windows\System32\drivers\etc) in Notepad and open the hosts file.
  3. On a new line under 127.0.0.1       localhost add:

             67.225.123.12 yourdomain.com

      4.   Use your site IP and your domain name.

      5. Save and restart your web broswer.  

 

Frequent Editing

If you are frequently editing your hosts file create a shortcut on your desktop for easy editing. Here’s how to create a shortcut on your desktop and lets you quickly and easily open your hosts file with Notepad and edit it.

  1. Send a shortcut to Notepad to your desktop by right-clicking Notepad in the start menu and selecting send to desktop.
  2. Right-click the shortcut to Notepad on your desktop and select properties.
  3. Click the advanced button near the bottom of the shortcut tab and check off run as administrator. Click OK in the advanced properties window.
  4. Replace %SystemRoot%\system32\notepad.exe with %SystemRoot%\system32\notepad.exe C:\Windows\System32\drivers\etc\hosts in the target box. Click OK in the properties window to save the changes.

Now all you have to do is open that shortcut to open your hosts file with Notepad with administrative privileges.

If you need any assitance we can be reached 1-877-907-3277