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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content