<BLOCKQUOTE><PRE>
...
- Port 80
+ Listen 80
ServerName server.domain.tld
NameVirtualHost *
<BLOCKQUOTE><PRE>
...
- Port 80
+ Listen 80
ServerName server.domain.tld
NameVirtualHost 111.22.33.44
<BLOCKQUOTE><PRE>
...
- Port 80
+ Listen 80
ServerName www.domain.tld
DocumentRoot /www/domain
to serve multiple ports. By defining the
ports in the "NameVirtualHost" tag, you can allow this to
work. If you try using <VirtualHost name:port> without the
- NameVirtualHost name:port or you try to use the Port
+ NameVirtualHost name:port or you try to use the Listen
directive, your configuration will not work.
<P>
<BLOCKQUOTE><PRE>
...
- Port 80
+ Listen 80
DocumentRoot /www/domain
ServerName www.domain.tld
<BLOCKQUOTE><PRE>
...
- Port 80
+ Listen 80
ServerName server.domain.tld
<VirtualHost 111.22.33.44>
<BLOCKQUOTE><PRE>
...
- Port 80
Listen 111.22.33.44:80
Listen 111.22.33.55:8080
ServerName server.domain.tld
<BLOCKQUOTE><PRE>
...
- Port 80
+ Listen 80
ServerName server.domain.tld
NameVirtualHost 111.22.33.44
<BLOCKQUOTE><PRE>
...
- Port 80
+ Listen 80
ServerName www.domain.tld
DocumentRoot /www/domain