Can't get to my website (hosted outside network) from inside network.

Hello,


This problem crept up last week sometime; everything was fine and I don't know what changed to cause this issue.  Our website is hosted offsite (xxx.ca), and it can be accessed from offsite; however it doesnt resolve from within our network.  Of course when the problem was first brought to my attention, I went into the DNS server and started to clean up (thats what I call messing things up)  I ended up deleting my DNS server and re-creating it, but still cannot get to our website from inside.  If I try to ping our domain, it pings my DC (running DNS and DHCP on same machine).  Any ideas?
LVL 1
1bigboomstickAsked:
Who is Participating?
 
1bigboomstickConnect With a Mentor Author Commented:
I noticed an error in my event log that the dns server could not find or open a zone file cache.dns.  I aquired this file, deleted my A record for www, cleared my cache, re-created that A record and it appears to be working now.

Deano
0
 
mrmarkfuryCommented:
Instead of pinging to test DNS issues, try nslookup (Start->Run->cmd->type "nslookup"->hit enter->)

This puts you in the nslookup program where you can test various dns servers. First, in nslookup, make sure that it's connecting to your DNS server, should say something like:
Server:DNSSERVER.DOMAIN.COM
Address: 192.168.xxx.xxx

Then, type in the full website address, www.yoursite.com
Chances are it won't resolve it.

Check that you can resolve other websites, try google.com. Chances are this should work.

If your results are different let me know.

Otherwise, I would try to add a HOST(A) record for "www" that points to your web server's ip.
0
 
1bigboomstickAuthor Commented:
When I run nslookup, it says:
Default Server: Unknown
Address: 192.168.75.2

When I type www.mydomain.ca, I get:
Default Server: Unknown
Address: 192.168.75.2

Name: www.mydomain.ca
Address: 64.159.xxx.xxx

When I type www.google.com, I get:
Default Server: Unknown
Address: 192.168.75.2

Non-authoritative answer:
Name: www.1.google.com
Addresses: 74.125.53.147
                74.xxx.xx.xx
0
 
1bigboomstickAuthor Commented:
Also, I did create that A record, see attached screenshot
untitled.jpg
0
 
mrmarkfuryCommented:
Glad you found a fix!
0
All Courses

From novice to tech pro — start learning today.