set the ip for the website

by Nirmala 2008-11-26 11:03:49

Hi...
Set the ip for the specific site in our machine.
Steps:
(*) Login as root
(*) Open file => vi /etc/hosts => In this file set the ip and site name.
(*) Save and quit.
(*) For example:
vi /etc/hosts
74.200.81.27 www.example.com
74.200.81.27 example.com


Tagged in:

990
like
1
dislike
0
mail
flag

You must LOGIN to add comments