bloc referral

If you are interested in learning to code with a mentor, try bloc and get $100 off.

Friday, October 24, 2014

Change your local host name

Did you know that you can update your host names. For example rather than typing in localhost:3000 to boot up your rails app, you could call up brian:3000.

All you need to do is call up `sudo nano.etc.hosts`and append a new line at the bottom with your the new alias and the reference of 1.27.0.0.1, voila. The only catch is that you need know how move around the NANO editor.

I recommend not replacing localhost but rather just creating an additional alias.

sudo nano /etc/hosts

For more info check out these detailed instructions.

No comments:

Post a Comment