I was having problems reaching my site hosted on a virtualmin virtual server. It is the only site I have hosted on the server right now (I am just learning my way around virtualmin and VPSs in general) and I can access it via IP address but not via the domain name. Running whois returned the correct nameservers so I then ran host mysite.com ns1.mynameserver.com and received “connection timed out; no servers could be reached.” I then added my ip address manually to named.conf and ran host mysite.com ns1.mynameserver.com again which now yields the correct IP. The only problem is my site is still unreachable via the domain name (I get “server not found”. I setup all the DNS stuff more than 24hrs ago with the exception of adding my IP to the named.conf file. My question is shouldn’t my domain name resolve to the site now that host mysite.com ns1.mynameserver.com returns the correct IP? Any idea as to what I should do next? Also, why did I have to add my IP manually to named.conf? Did I miss something in the virtualmin setup or (more likely) screw up some setting that I am not aware of? I did set virtualmin to listen locally only so as to access it via an ssh tunnel, could this have lead to an alteration of the named.conf file?
I appreciate any assistance and beg your indulgence of a rank amateur. I am sure this is just the first of many stupid questions.