How to restrict direct IP access to website?

Solution Verified - Updated -

Issue

  • How to block direct IP access to the website?
  • How to block access the sired with IP address?
  • Prevent access sites with IP?

Environment

  • Redhat Enterprise Linux
  • httpd

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.