rmartin
09-22-2001, 08:06 PM
Hi,
we have a range of ips for our main dedicated server, one of which we want to use just for webmin.
Is there a way therefore to prevent apache from listening on this ip, as the default server appears to listen to any ip/port and we dont seems to be able to change this
many thanks in advance
rmartin
Type:
Listen 80
Which will make it listen to port 80
And use
<VirtualHost 5.5.5.5>
.
.
.
.
</VirtualHost>
So when you access with IP 5.5.5.5 apache will desplay what specified between the <VirtualHost></VirtualHost>
(use your own ip though not 5.5.5.5)
Restart apache and done.
rmartin
09-22-2001, 08:31 PM
hi, thanks for the response
I understand what you are saying, however i want webmin to run exlusively on this single ip running under port 80
so therefore what would i need to put inside the virtual host bits to get this to work
many thanks
rmartin
If you want apache to listen to another port simply make apache listen to another port by "Listen portnumber"
Change the Listen directive to:
Listing 1.2.3.4:80
Specify one line for each IP you want Apache to listen on. Do the same for port 443 if you are using SSL on any IPs. Also don't forget to make sure you have a NameVirtualHost for each IP you have VirtualHost directives for.
Hope this helps.
DHWWnet
09-23-2001, 01:55 AM
Originally posted by rmartin
i want webmin to run exlusively on this single ip running under port 80
go to>>webmin configuration then >>port and address and then>> listen on IP address - enter IP >> listen on port - specify what port you want to run webmin.