3 ms·
It's significantly easier just to add a 127.0.0.1 record to your hosts file.
It's significantly easier just to add a 127.0.0.1 record to your hosts file.
AFAIK /etc/hosts doesn't support wildcards, which means you have to edit it every time you want a new virtual host.
Now, that is a serious pet peeve of mine, especially when things break later because people forgot they modified their hosts file.