Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I know there are ways to prevent access to a website based on IP addresses...

Now consider a company having it's own network, domain and mail service. I need to give access to a website only when it is accessed through this network. The catch is i have to do this based on the network's domain name... and not the IP address...

Is there a way to do this...?

share|improve this question
Is the web site hosted in a server you manage ? Is so which one ? – proy Jan 29 '10 at 11:44
yes.. the one with the limited access will be in my server.... – Spiketide Jan 29 '10 at 11:59
How many domains do you have in your network ? What is the Web server type (IIS/Apache) ? – proy Jan 29 '10 at 13:28

If its Apache take a look at this If its IIS just go to the site properties, directory security tab and IP address and domain restrictions or check here

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.