Welcome, Guest
Please Login or Register.
Lost Password?
Fight off : CNAME not working (1 viewing)
Post Reply

TOPIC: Fight off : CNAME not working

#15544
clenoma (User)
Posts: 2
graphgraph
Fight off : CNAME not working 2008/08/08 13:43  
Hello,
After one week of fight with my server, it won...
I have installed a clean version of CentOs on a server, and then installed VirtualMin using the .sh script.

My server is working, I can display a page using my domain name anoxya.com
However, the www is not working, I know that's coming from the Cname, but i don't know why that's not working...

Here is my DNS Record :

@ IN SOA ns1.anoxya.com. mail.live.com. (
1216939099
1000
1000
604800
1000 )

${DOM}. IN A ${IP}
${DOM}. IN NS ns1.anoxya.com.
${DOM}. IN NS ns2.anoxya.com.
ns1.anoxya.com. IN A ${IP}
ns2.anoxya.com. IN A ${IP}
www.${DOM}. IN CNAME ${DOM}.

I used a webservice to check my dns, and I got an issue with the www:

WWW Error WWW A Record ERROR: I could not get any A records for www.anoxya.com!

I dont understand why that's not working, the domaine name is pointing to the good folder on the server, but the www is pointing to the server, but cannot find the folder.
Is that coming from the configuration of apache ?

Here is my httpd.conf
<VirtualHost 91.121.152.81:80>
SuexecUserGroup "#500" "#501"
ServerName www.anoxya.com
ServerAlias anoxya.com lists.anoxya.com
DocumentRoot /home/anoxya/public_html
ErrorLog /home/anoxya/logs/error_log
CustomLog /home/anoxya/logs/access_log combined
ScriptAlias /cgi-bin/ /home/anoxya/cgi-bin/
DirectoryIndex index.html index.htm index.php index.php4 index.php5
<Directory /home/anoxya/public_html>
Options Indexes IncludesNOEXEC FollowSymLinks
allow from all
AllowOverride All
</Directory>
<Directory /home/anoxya/cgi-bin>
allow from all
</Directory>
Alias /dav "/home/anoxya/public_html"
Alias /pipermail "/var/lib/mailman/archives/public"
<Location /dav>
DAV On
AuthType Basic
AuthName anoxya.com
AuthUserFile /home/anoxya/etc/dav.digest.passwd
Require valid-user
ForceType text/plain
Satisfy All
</Location>
RedirectMatch /cgi-bin/mailman/([^/]*)(.*) "https://anoxya:10000/virtualmin-mailman/unauthenticated/$1.cgi$2"
RedirectMatch /mailman/([^/]*)(.*) "https://anoxya:10000/virtualmin-mailman/unauthenticated/$1.cgi$2"
SSLEngine off
<Location /svn>
DAV svn
SVNParentPath /home/anoxya/svn
AuthType Basic
AuthName anoxya.com
AuthUserFile /home/anoxya/etc/svn.basic.passwd
Require valid-user
AuthzSVNAccessFile /home/anoxya/etc/svn-access.conf
Satisfy All
</Location>

</VirtualHost>

Can somebody is wise enough to find out how to solde this issue ?

Post edited by: clenoma, at: 2008/08/08 13:44
  The administrator has disabled public write access.
#15545
Joe (Admin)
Posts: 4084
graph
Re:Fight off : CNAME not working 2008/08/08 13:58  
So you've modified the Apache configuration a bit from what Virtualmin generates (which uses the name of the domain for the ServerName and creates a ServerAlias for www.domain.tld). That doesn't make a difference, of course...but I'm not sure why you'd want to do it that way.

And you definitely have an A record for www.anoxya.com, so I don't know why the web service you checked with is complaining. But your whois record looks really strange (it lists no name servers...which is...strange).

Anyway, I'm guessing maybe the NameVirtualHost entry is wrong on your system. Maybe. It's certainly something to do with the way you've got virtual hosting setup.
  The administrator has disabled public write access.
#15547
clenoma (User)
Posts: 2
graphgraph
Re:Fight off : CNAME not working 2008/08/08 14:34  
Thanks for your reply joe.
I've played a lot with my server, and i've probably make some mistakes.
I'll will retart from a clean version tomorrow.
  The administrator has disabled public write access.
#15548
ronald (User)
Posts: 505
graphgraph
Re:Fight off : CNAME not working 2008/08/08 14:35  
also
The SOA record is:
Primary nameserver: ns1.anoxya.com.anoxya.com

looks like you forgot the . after the name
  The administrator has disabled public write access.
#15552
Joe (Admin)
Posts: 4084
graph
Re:Fight off : CNAME not working 2008/08/08 14:45  
I've played a lot with my server, and i've probably make some mistakes.
I'll will retart from a clean version tomorrow.


Without understanding of past mistakes, we are destined to repeat them. ;-)

I'd recommend fixing the problems with the current installation rather than starting over and making the same mistakes again (and again, and so on).
  The administrator has disabled public write access.
Post Reply
get the latest posts directly to your desktop

Talk and Get Help

Support
Forums
Bugs and Issues

Get Virtualmin

OS Support
Buy Online
Download
Copyright 2005-2007 Virtualmin, Inc. All rights reserved.