How do I block access from some IP address (not to)?
I have an Apache/CentOS 6 web server running a few minor family sites from my house with a dynamic IP address updated with Namecheap's DNS client. I don't want people to be able to punch my IP address into their browser and get my default site. However, I need for it to work as it does now, without changing the way my family connects to it, to avoid a myriad of support calls from my uncle, aunts, grandmothers, mom, sister, nephews, etc. about why their shortcut isn't working.
I have my IP address configured as a vhost to send requests to a null folder showing the default Apache index file, but I want to hide the fact that there is a web server there at all for IP address requests. How should I configure Apache or .htaccess to completely drop or refuse (whichever would keep people from digging deeper) people that use my IP address in their browser?
My reasoning is: I don't want to go to a porn site and have someone - site admin, script kiddie, malware person, whoever - get my IP address, punch it into their browser, and get pictures of my family and dog. "Oh, Sol LastName - lives in Random Town, FL. Works for Company X making widgets. Has a wife and 7 kids, all of whom are pictured and named. Likes big-booty pregnant dwarves in sheep costumes, singing in Yiddish. Sending a message directly to his wife (cross-referenced with Facebook) with suggestions on how to wear sheep costumes more provocatively sounds like fun!"
Or random script kiddie gets mad because I dissed Faygo on their forum. Puts my IP address into their browser, finds my site, my name, general information about my family, decides to post to a local town forum that Sol LastName is looking for eligible bachelors to go down on. Need I go on?