Avatar of btny
btny
Flag 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!
DNSActive Directory

Avatar of undefined
Last Comment
btny

8/22/2022 - Mon
btny

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
josika

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
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...?
josika

Can you check the local hosts file?

%systemroot%\system32\drivers\etc

Open it with notepad to see the contents.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
josika

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.
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?
josika

Hmm, check the A record for 'yada' in the forward lookup zone convio.net.  Make sure it has the updated IP address.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
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.
josika

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.
josika

Any updates?

Thanks.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
btny

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

ASKER
ok