Thursday , June 29 2017
Home / Linux / How to Edit Linux Ubuntu Hosts File

How to Edit Linux Ubuntu Hosts File

How to Edit Linux Ubuntu Hosts File

  1. Open putty for windows or terminal or your webserver
  2. login to your server
  3. input : sudoedit /etc/hosts
  4. Enter your password.
  5. Make the necessary changes to the file.
  6. Press Ctrl X
  7. When asked if you want to save your changes, answer y (yes) or n (no).

Check Also

How to Install Moodle in Ubuntu Web Server

How to Install Moodle in Ubuntu Web Server Update : sudo apt-get update Install Modules : …

Leave a Reply

Your email address will not be published. Required fields are marked *

*

Facebook
Google+
http://www.sysadjournal.com/how-to-edit-linux-hosts-file/">
Twitter
Pinterest
LinkedIn
Instagram