Web Development Tips and Tricks

Web Development Tips and Tricks

Saturday, April 9, 2011

Create A Domain Name on Localhost

Follow below steps
1)Step


1. First go to location "C:\WINDOWS\system32\drivers\etc" directory.(or where you installed windows).
Then open "hosts" file with simple text editor like notepad.
2. You'll see "127.0.0.1 localhost" at the end of the file.
In the next line add your virtual domain name like the example shown below.
Here name.sirname is just my example. You can use anything you like.

127.0.0.1 name.sirname #this is virtual domain name.

3. Now save the hosts file.name.sirname is just an example.

You can add anything like mywebsite.local and you can use any extension or no extension at all.

You can simply add name also.

now open your browser and write name.sirname it will open your root folder.

For more education videos go on www.education.ziwwa.in or search our videos in yutube

No comments:

Post a Comment