Monday, December 30, 2013

How to create alias for localhost

first open hosts file with command:
vi /etc/hosts
then add your alias name after localhost like this:
127.0.0.1       localhost
127.0.0.1       sachin-server

Reactions:

0 comments:

Post a Comment