2. Run sudo vi /etc/hosts 3. Enter the password. 4. Go to file hosts and press I to go to editing mode 5. Add your host to last 6. Control + C to push edit mode 7. Enter :wq to save the configuration and exit