My friend uploaded his site on wordpress and when we run his site, it appears as example.com only But mine uploaded the same way shows complete, i.e. www.example.com. what is the difference?
Wikipedia is the thing dude.... Many domain names used for the World Wide Web begin with www because of the long-standing practice of naming Internet hosts (servers) according to the services they provide. The hostname for a web server is often www, in the same way that it may be ftp for an FTP server, and news or nntp for a USENET news server. These host names appear as Domain Name System (DNS) subdomain names, as in www. example.com. The use of 'www' as a subdomain name is not required by any technical or policy standard; indeed, the first ever web server was called nxoc01.cern.ch, and many web sites exist without it. Many established websites still use 'www', or they invent other subdomain names such as 'www2', 'secure', etc. Many such web servers are set up such that both the domain root (e.g., example.com) and the www subdomain (e.g., www. example.com) refer to the same site; others require one form or the other, or they may map to different web sites.
I know it means WORLD WIDE WEB! Thing is that when my friend's site is run, URL doesn't show www. When i run my website, it shows www. I want my site to show my domain name only!