Question: why www is not needed?
Answer: Many hostnames used for the World Wide Web begin with www because of the long-standing practice of naming Internet hosts according to the services they provide. www is not needed anymore. The main website url is example.com / (well, technically example.com :X, where X is the port number).