Downside of a full hostname is that browsers have a bunch of security controls disabled for localhost, which do affect sites which use a hostname, to get a normal experience you need to set up certificates for your local site, usually adding a root cert to your computer's store.