Junior G.
04-05-2002, 09:47 AM
Hello everyone,
First, I would like to thank everyone for your continuous help. I also would like to say special thanks to chikn for his help configuring my Apache Server.
Now back to my question, how can I host a Virtual Server from one port like 8008 and not 80?
My Apache Server is configured at the moment to listen on port 80 for all Web Sites, but I would like to have one of my Virtual Servers to listen on port 8008 alone. Can that be possible?
I tried configuring my Virtual Site this way...
NameVirtualHost aaa.bbb.ccc.bb
<VirtualHost aaa.bbb.ccc.bb:8008>
ServerName myserver.mydomain.com
ServerAdmin root@localhost
ServerPath /samba
DocumentRoot /samba/html
HostNameLookups Off
ServerAlias myserver
User apache
Group apache
</VirtualHost>
This configuration makes my Virtual Server points to my default Web Site, which is held in /var/www/html. If I take the port number out and try again, then it works again and points to the correct site in /samba/html.
Is there something else that I need to change? Maybe my httpd.conf file?
Please help. Any suggestions welcome...
First, I would like to thank everyone for your continuous help. I also would like to say special thanks to chikn for his help configuring my Apache Server.
Now back to my question, how can I host a Virtual Server from one port like 8008 and not 80?
My Apache Server is configured at the moment to listen on port 80 for all Web Sites, but I would like to have one of my Virtual Servers to listen on port 8008 alone. Can that be possible?
I tried configuring my Virtual Site this way...
NameVirtualHost aaa.bbb.ccc.bb
<VirtualHost aaa.bbb.ccc.bb:8008>
ServerName myserver.mydomain.com
ServerAdmin root@localhost
ServerPath /samba
DocumentRoot /samba/html
HostNameLookups Off
ServerAlias myserver
User apache
Group apache
</VirtualHost>
This configuration makes my Virtual Server points to my default Web Site, which is held in /var/www/html. If I take the port number out and try again, then it works again and points to the correct site in /samba/html.
Is there something else that I need to change? Maybe my httpd.conf file?
Please help. Any suggestions welcome...