Link to home
Start Free TrialLog in
Avatar of btny
btnyFlag for United States of America

asked on

Cannot get to website internally but works externally

HI,

Just inherited a new system and unfortunately the windows domain name is the same as the external domain name  lets say candy.com

On friday we changed IP scope of the network and immediately after we can no longer access the website internally.

We have a CNAME record in DNS which points to oursite.convio.net (our web host)

When I do a NSlookup internally it takes me to the WRONG IP for www.candy.com but external NSlookup is correct

How do I find where my internal server is getting this info and try to resolve

thanks!
Avatar of btny
btny
Flag of United States of America image

ASKER

To add to this, I deleted one of the CNAME records and decided to try an A record with the correct IP.

Even with that, NSlookup doesnt see the IP in the A record it sees another IP.

It feels like this IP is hard coded somewhere, any thoughts?  I checked hosts file and not there
ASKER CERTIFIED SOLUTION
Avatar of josika
josika
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of btny

ASKER

We have that in place already and when I do a nslookup for www the IP doesnt match the internal IP

This leads me to beleive the previous admin hardcoded the IP somewhere or something...?
Can you check the local hosts file?

%systemroot%\system32\drivers\etc

Open it with notepad to see the contents.
Also, should the internal users be going to the internal IP or external IP or the web server?

You may want to check the IP address on the A record for the web server as well and make sure it is correct.
Avatar of btny

ASKER

Host file is clear

We do not have an A record for the website since it goes to a CNAME of yada.convio.net

When I make google my DNS it works, so there is something cached maybe in my DNS?
Hmm, check the A record for 'yada' in the forward lookup zone convio.net.  Make sure it has the updated IP address.
Avatar of btny

ASKER

I dont have a forward looking zone for convio.net since it is my webhost and my domain is candy.com


I have a CNAME record for www which points to yada.convio.net.
Ahh ok, I have a setup similar to this and here is what I do:

You can create a new Forward Lookup Zone for convio.net on your DNS servers and create the yada A record with the IP address that Google is returning.  This way, internal users would be able to resolve the external IP address of your web host.

You can also create a forwarder on your DNS servers for the convio.net domain.  Right click on your DNS server and go to Properties > Forwarders tab.  Enter the convio.net DNS domain and enter either your web hosts DNS servers or Google's DNS server cluster that can properly resolve the IP address.
Any updates?

Thanks.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of btny

ASKER

My commend fixed it however it WAS setup and working previously with the way Josika mentioned
Avatar of btny

ASKER

ok