Unable to access website

I have configured local domain e.g test.co.ke thesame domain is hosted externally with a website. On thesame server i have configured DNS and DHCP. My issue is within the LAN i cannot reach to the website hosted externally instead it loads default IIS page. My Server Runs Windows server 2012.

Kindly assist so the users on the LAN can acess in this case www.test.co.ke

Thanks in Advance
LVL 6
Peter KipropAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

AlanConsultantCommented:
Hi Peter,

You need to setup your internal DNS to resolve the external website hostname to the IP address of the web host.


Alan.
0
arnoldCommented:
When you use the same public domain for your internal domain, as Alan pointed out, you have to maintain the internal reference.
Be careful as the only thing you can point to the outside is www.yourdomain.com the yourdomain.com record will always refer to the internal server meaning you have to setup on your internal IIS a redirect to requests for yourdomain.com to www.yourdomain.com but this .........

This is why usually, AD domains were/should not use public domains.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
AlanConsultantCommented:
If you are still testing and not finalised, you could make your internal domain name something like:

test.activedirectory

Rather than:

test.co.ke

Anything that cannot (or is at least highly unlikely to ever) resolve to a valid external hostname.

Alan.
0
Top Threats of Q1 & How to Defend Against Them

WEBINAR: Join WatchGuard CTO and our Threat Research Team on Aug. 2nd to hear the findings from our Q1 Internet Security Report! Learn more about the top threats detected in the first quarter and how you can defend your business against them!

nociSoftware EngineerCommented:
or the more standard test.local (or co.ke.local)....
.local domains are meant to do that, keep access to local systems.
0
AlanConsultantCommented:
Hi,

I actually prefer to use ad as a prefix (such as ad.example.com) as it is short (only three more characters).

I know a lot of people use internal (internal.example.com) which is also fine, and perhaps more 'descriptive', but more characters too.

The problem with using, say, .local is that you cannot get a cert for it from a CA.  You can make your own, but then you have to install the root cert on all devices that are going to use it.


Alan.
0
DrDave242Commented:
If you browse to http://www.test.co.ke from outside, does the URL change to http://test.co.ke when the page loads? If so, there's an HTTP redirect on the site that will need to be removed (which will likely require a call to the webhost). Once that's removed, you should be able to simply create a host record named www in your internal DNS and give it the IP address of the website.

As has already been mentioned, though, giving your AD domain the same name as your registered public domain is generally not a good idea.
0
Peter KipropAuthor Commented:
always make internal domain be different from the external domain
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows OS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.