Im creating this new section "Help" where in i will try to solve your difficulties you have entered in the comments and also difficulties i have faced. So feel free to drop a comment. Lets start my own barrier that i faced while bringing up this site.
I had registerd a domain name (www.cool-blogger.com) with godaddy.com . After all settings i found that when i typed www.cool-blogger.com i reached my home page but when i did not use www (just cool-blogger.com) i found myself reaching the default page of godaddy.com. After thorough search i found a trick to tackle this problem. It was using domain forwarding . It was just like using url redirectors, which was absurd. After a deep search in google a finally got a solution. Im not sure how and what are the settings with other domain name providers but here i will demonstrate the settings for godaddy and a blogger blog :

After you have logged in your account and selected the neccessary domain name to edit its settings, you will come accross a window like one below.
Go to "Total dns and mx records".



If its you first time you will need to create a new cname record by clicking on "Add a new cname record" or edit the record if record with host www is already present there by clicking the pencil logo on extreme right. A new dialogue box will open where you need to enter "www" in "Enter an alias name" and "ghs.google.com" in "Points to host name" (incase of blogger) . Say ok and save the settings.





Now create a new cname record using same step as above and enter your domain name (eg.cool-blogger.com , the one you want to use without www) in "Enter an alias name" and "ghs.google.com" in "Points to domain name". Say ok and save your record. This is it and you are done!.



Note : It may take upto 24 hrs for these changes to take place so be patient.

Still if this does not help you may use domain forwarding. Click on the link under "Forwarding" on main page.


You will reach a new page where in you need to enter the url where it should redirect. Enter the desired url(eg.m0neytech.blogspot.com) in "Forward to" block and select "301 moved permanently" option. Again this may take upto 24 hrs.



I am currently using a blogger blog so i could point my domain directly by adding a CNAME record. But i think if you are hosting on some other server you will need to add their nameservers to your domain settings. Then using a addon domain option on your hosting server you can point it to whatever directory you want.
htaccess is the main file that needs to be edited inorder to resolve www and non-www issue.