Archive

Posts Tagged ‘Host’

How To Replace Localhost With Own Domain In Local Server

April 1st, 2009 nugie No comments

Before I start this tips and trick, authors need to explain the means used in this exercise.

In this exercise the author Using Windows XP and XAMPP

Most people run the files on their website using the localhost or http://localhost http://127.0.0.1. Maybe some of you already know that localhost can be replaced with your domain name (http://yourdomain.com) only by adding these lines to the file 127.0.0.1 yourdomain.com hosts that are in the folder C:\WINDOWS\system32\drivers\etc, then you can run the domainname as you see fit.

Example of writing:

127.0.0.1   localhost
127.0.0.1   yourdomain.com

Here the author will give a few tips how to run http://localhost and http://yourdomain.com with a different web page with the help of VirtualHost. So you can manage all, or to create a virtual website (backup site) on Your Computer. Read more…

Categories: Tips & Trick Tags: , ,