how to access a virtualhost with no DNS configured

Solution In Progress - Updated -

Issue

We have an HTTP server with several virtual hosts on a single IP. To access them from an application we need to define these hostnames in /etc/hosts on each client. Is it possible to avoid this?

Environment

  • Red Hat Enterprise Linux

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.