hi there
you must have a CNAME entry for www
something similar to below mentioned entry.
www 14400 IN CNAME name.ro.
if you have that entry in your DNS zone file then you can just open up your httpd.conf file and check out the virtual host entry for your domain name - check whether you have entries similar to the below mentioned entries.

i hope that will resolve your problem.
&VirtualHost YOURIPADDRESS&
ServerAlias www.name.ro name.ro
ServerAdmin
[email protected]
DocumentRoot /home/username/public_html
BytesLog domlogs/name.ro-bytes_log
ServerName www.name.ro
CustomLog domlogs/name.ro combined
ScriptAlias /cgi-bin/ /home/username/public_html/cgi-bin/
&/VirtualHost&
regards,
Parag