I cannot see to get to my site by domain name. I can get to it by IP address fine. I am guessing that the problem is with the Bind configuration file... or maybe Apache?
$ dig @dnsserver linuxquestions.org
Which means that DNS is working.
When I type in the browser the IP this works:
But this does not work:
Here is the db.atestsite.com file.
; BIND data file for mytestsite.
;Name of the primary ns and the email of the administrator.
@ IN SOA ns.mytestsite.com. admin.mytestsite.com. (
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;Tells dns servers on the Internet the primary ns server that have authorit y
IN NS ns.mytestsite.com.
;Anchor records that point to your domain.
;The address localhost.mytestsite.com can only be accessed by the server itself.
localhost IN A 127.0.0.1
;The domain name. The number should be the Public IP address.
;This is the address they ping or browse to http://mytestsite.com.
mytestsite.com. IN A 184.108.40.206
;Pinging ns.mytestsite.com. would return the public IP address.
ns IN A 192.168.69.221
;Browsing www.mytestsite.com. would take the viewer to the site.
www IN A 192.168.69.221
;Makes http://www.mytestsite.com. the same as http://forum.mytestsite.com.
forum IN CNAME www