sentora-core icon indicating copy to clipboard operation
sentora-core copied to clipboard

domain without www is 404

Open adamhk0 opened this issue 10 years ago • 1 comments

http://forums.sentora.org/showthread.php?tid=1353

After I changed @ to mydomain.com in CName record at Sentora DNS Manger. The website show up properly.

Before Host Name:www Target: @ After Host Name:www Target: mydomain.com

Still don't know why. some of my sites don't have this problem

adamhk0 avatar Apr 01 '15 02:04 adamhk0

@ should work to reference the domain...

Could you check the zone file is being generated correctly when you use the @ reference?

vi /etc/sentora/configs/bind/zones/domain.com.txt

For example I have:

@ 3600 IN A 000.000.000.000

and a CNAME of:

www 3600 IN CNAME @

If it hasn't changed yet force a re-run of the daemon.php then check again.

Caffe1neAdd1ct avatar Sep 28 '15 11:09 Caffe1neAdd1ct

Can't reproduce in v2. All works as intended. Closing for now.

Dukecitysolutions avatar Mar 18 '23 06:03 Dukecitysolutions