website not working for lan

Posted on 2016-08-11
Last Modified: 2016-09-03
hi my our company website working fine from outside. it is not working from outside. we have windows 2012 Domain controllers. What steps we need in dns to resolve this issue.

Question by:swatujct
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +2
LVL 12

Expert Comment

by:Gary Dewrell
ID: 41752022
I assume your webserver is in a DMZ or on your internal lan and then published to a public outside IP address through a firewall. On your internal DNS server add an A record that points to the Internal ip address, not the outside public IP address.

For example if you have a website at running on a server name WebServer that is in your DMZ at IP address and published to the internet with a public IP of then you would have a DNS record on your internal DNS server that says.      A

Expert Comment

ID: 41752030
Hi Jin,

Your application is hosted in the server which uses Company specific Network. You can't access those from outside. In order to access outside you need to connect to your company network.

LVL 12

Expert Comment

by:Gary Dewrell
ID: 41752038
Member_2_7971300 I think you may have misunderstood the question because of a typo in the question.

I believe the issue is they cannot access the website from internal systems.
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.


Assisted Solution

by:Alexandre Michel
Alexandre Michel earned 250 total points (awarded by participants)
ID: 41752141

Assuming your website URL is and your internal DNS IP is, what happens when you run this in a CMD prompt:
  1. PING

From the error you appear to have, your internal DNS might not be configured properly
You might need to add an A record to your own DNS to point to the (external) IP of your website

To test that theory, you can edit the HOST file of one of your computers then do a PING test. If it works, then it confirms you need to fix your internal DNS
Follow for example this site to edit your HOST file: .
LVL 12

Expert Comment

by:Gary Dewrell
ID: 41752146
alexander, I am not the person asking the question but good input.

Author Comment

ID: 41752378
our website is hosted with 3rd party hosting company. We dont have any website on dmz or internal network. Hosting company block our ip. as per request they released now. earlier i was not able to ping our website from our internal network. after they released from block we can ping. but still i am not able to access using

i have cleared cookies and tried still same issue. i setup another browser n tried still same issue.
LVL 26

Accepted Solution

DrDave242 earned 250 total points (awarded by participants)
ID: 41752627
Is your internal (Active Directory) domain also named If so, that's the problem. There's an HTTP redirect on the site that redirects your request to simply (You can confirm this by browsing to from outside. When the page loads, you'll notice that the URL in the address bar changes to

The problem is that will resolve to the address of one of your domain controllers from inside, rather than the address of the website. This is by design. The only way to fix the problem is to remove the HTTP redirect from the website. You'll also have to make sure you have a host record named www on your internal DNS servers that points to the IP address of the site, and you'll have to instruct your internal users to always put www in the URL when browsing to the site.

Expert Comment

by:Alexandre Michel
ID: 41753232
You will be able to confirm DrDave's explanation by doing the following in a command prompt


Open in new window

Assuming your own internal DNS is
If you don't know what is your internal DNS, type IPCONFIG /ALL in a CMD prompt and look for the line that starts with "DNS Server"
LVL 26

Expert Comment

ID: 41782768
Auto-closing due to inactivity. Would like to know for sure that this solution worked, but I'm confident that it will.

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Office 365 Public IP configuration on DNS ? 7 67
Networking Monitoring Tools 10 65
Expand Verizon 3G to LTE - possible? 4 30
DNS record 4 14
The use of stolen credentials is a hot commodity this year allowing threat actors to move laterally within the network in order to avoid breach detection.
Is your computer hacked? learn how to detect and delete malware in your PC
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question