What should a name based VirtualHost directive look like?

Updated -

There are two parts to this. The first one is that you must issue a directive which gives Apache an IP address to serve the name based domains from. Like this:

   # If you want to use name-based virtual hosts you need to define at

   # least one IP address (and port number) for them.

   #

   NameVirtualHost 12.34.56.78:80

   NameVirtualHost 12.34.56.78

The se...

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