Can I make subdomain of company website only accessable on our company network?

thall24 asked:

I have created a WordPress site for our company intranet. I also created a subdomain called Is it possible to make this subdomain only accessible from our local network?
If not, could I host the site on a local computer and simply point the DNS of the to the IP of the local computer?

My answer:

You can configure your web server to accept connections (to this subdomain) from only specific IP addresses/networks. Other IP addresses will see only 403 Forbidden. How you do that depends on which web server you chose to use (but you didn’t tell us this important information). Consult its documentation.

View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.