Doing so often requires non-standard DNS hacks such as CNAME flattening or ANAME/ALIAS records to achieve the aesthetic preference of a bare domain name. The www subdomain is still an obvious choice for anyone that's still running their own DNS, until the domain root aliasing gets a standard implementation.