httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: [users@httpd] Virtual Host on alternate port
Date Wed, 03 Sep 2003 17:40:05 GMT


On Wed, 3 Sep 2003, Imran Aziz wrote:

> Hello All,
> 	I do not have control of the DNS server, so I want to create a
> virtual host based on port number here are my virtual host settings in
> httpd.
>
> <VirtualHost 217.**.**.127:8022>
> DocumentRoot "/var/www/html/usage"
> ServerName stats.mydomain.com
> </VirtualHost>
>
> but the server does not respond on port 8022 , what could be wrong ?

Yah.  Well, where did you get the idea for that configuration.  Have you
read the docs on virtual hosts and "binding"?

Try:

Listen 8022

<VirtualHost _default_:8022>
...
</VirtualHost>

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message