If a website domain name was bought and registered as 'name.com' instead of 'www.name.com' would users still be able to find the site by typing 'www.name.com'?
migrated from stackoverflow.com Aug 22 '11 at 16:17
You can't purchase "www.name.com" from a TLD (top-level domain) registrar; you can only purchase name.com, and then the DNS servers for name.com would be responsible for handling the www. portion.
www.name.com isn't a domain it is a hostname/subdomain derived from name.com.
The domain, is
So what you have asked is not possible.
If you had a domain name.com you would configure an Alias so that your website also accepts requests from www.name.com and then you would make sure using a 301 redirect that all requests are routed to either the www.name.com version or the name.com.