Video: How to Edit Ubuntu's etc Hosts File by Example Step by step guide to safely edit Ubuntu hosts file for local DNS mapping using terminal editors sudo and simple testing commands Watch this video on YouTube