Apache 2 – Not serving all vhosts correctly

Although the vhosts files and httpd.conf are all correctly set you will need to edit listen.conf and set:

#NameVirtualHost *.80

to

NameVirtualHost *.80

Restart the Apache service and all should be well!

Without the above change the server will work but only serve content from one of the virtual domains.

Print Friendly, PDF & Email

More Like This


Categories


Web Hosting

Tags


  • Post a comment