Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

can't start up a virtual server running on port 3000

Status
Not open for further replies.

arlequin

Programmer
Sep 21, 1999
232
UY
Hello, my friends!!

I have Mandrake 8.1 and using webmin I've tryed to create a virtual host on port 3000.
But I can't browse to it!!
I can browse to my default web server and to the default HTTPS server
BTW, I am runnig squid on the same PC.

Any idea on what's going on?

Thanks a lot! Arlequín
arlequin@montevideo.com.uy
 
If you are using at least one virtual host then you have to put your main server in a virtual host container also. You don't need to use a different port. As a matter of fact you can use the same ip and port for both if you use name-based addressing. Here is a sample of my httpd.conf file to give you an idea of what I'm saying. You would put your ip in place of the Xs or you can use *.


# Virtual host <VirtualHost xx.xx.xxx.x>

ServerName DocumentRoot /var/ServerAdmin webmaster@mydomain.com

<Directory &quot;/var/ Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>

ScriptAlias /cgi-bin/ &quot;/var/
<Directory &quot;/var/ AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all
</Directory>

</VirtualHost>



# Virtual host chat.mydomain.com
<VirtualHost xx.xx.xxx.x>

ServerName chat.mydomain.com
DocumentRoot /var/ServerAdmin webmaster@mydomain.com

ScriptAlias /cgi-bin/ &quot;/var/
<Directory &quot;/var/ AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all
</Directory>

ErrorLog /var/log/httpd/chat-error.log
TransferLog /var/log/httpd/chat-access.log

</VirtualHost>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top