hey!
could some one help troubleshoot
i need to be able to open my website without necessarily placing a www. in the address bar
configs below
@ IN SOA ns1.m.com. admin.m.com. (
20070932 ;
3h ;
1h ;
1w ;
10h ) ;
IN NS ns1.m.com.
IN NS ns2.m.com.
IN MX 10 smtp.m.com.
IN A 1.1.1.1 ****is this the problem ? what does this acheive?
ns1 IN A 1.1.1.1
ns2 IN A 2.2.2.2
www IN A 3.3.3.3
smtp IN A 4.4.4.4
ns1 IN A 1.1.1.1
ns2 IN A 2.2.2.2
my vhosts file for the website is as follows
<VirtualHost 3.3.3.3:80>
ServerAdmin
admin@m.com
ServerName
www.m.com
ServerAlias m.com
DocumentRoot /www//html
ScriptAlias /cgi-bin/ /www//html/cgi-bin/
ErrorLog /www//logs/error_log
</VirtualHost>
if i ping m.com it resolves to ns1.m.com
if i put
www.m.com the website site opens
however i would like to be able to put m.com in the address bar without the www and have it resolve the to the website.
thanks