I am new for hosting. I have taken Amazon EC2 free tire for hosting and host a Rails website on an ec2 instance. I have taken a domain name for my site named http://jarsoftwares.com/ . I have configured the dns A Record which maps to my ec2 instance static IP. Now the problem is when I do http://www.jarsoftwares.com/ its not working. I don't get support from the company where register a domain because this is the issue of hosting as per their view. I don't know where do I need to change. I have configured Apache2 and passanger on ec2 instance. Following is the configuration of my apache.
<VirtualHost *:80> ServerName jarsoftwares.com ServerAlias www.jarsoftwares.com DocumentRoot <path> RailsEnv production <Directory <path>> AllowOverride all Options -MultiViews </Directory>
Can anybody please suggest what I need to do to make it working for www ?