title: Alternative to defining aliases in /etc/hosts?
body: <p>Is it possible, without editing the <code>/etc/hosts</code> file, tell my computer redirect to <code>127.0.0.1</code> every time I visit <code>domain1.com</code> or <code>domain1.com</code> through the web browser as well as when I request the content of the same pages through <code>curl</code>?</p>