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 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.