Moved: More suitable in General as its not a Linux related question.
It all really depends on the site as how they have it setup. You can have either
www.whatever.com or just whatever.com
Some sites where you type www will redirect to just the name.com and such. Most sites just setup their DNS and webservers though to accept both for the same domain, etc.