The internet is more than just web servers. Web servers are more than just www.
I work for a chat service, the servers doing the actual work of the service were rarely attacked, we even have a couple other http(s) endpoints that are public, but not www, and those were rarely attacked as well.
Why would you have anything other than web servers directly accessible on the internet?