5

what is the correct config for ubuntu apache2 virtualhost on port different from 80

view full story
linux-howto

http://serverfault.com – i've just inherited a server ubuntu 10.04 running already tomcat on port 80.so apache 2 /etc/apache2/ports.conf has Listen 8858. i pointed my subdomain let's say admin.domain.com to the ip of that box so xx.xx.xx.xx:8858 and admin.domain.com:8858 both sends me to the root file "it works" so i did create under /var/www/vhots/admin.domain.com/htdocs and /var/www/vhots/admin.domain.com/log my first config looks is below and that basically after reloading and restarting the apache2 gives me this error VirtualHost *:8858 -- mixing * ports and non-* ports with a NameVirtualHost address is n (HowTos)