jmaccs64's picture

Is it possible to run both webmin and phpmyadmin on port 80? Possibly in a folder /var/www/webmin or /var/www/phpmyadmin?

Thanks in Advance!

Joe

Forum: 
Alon Swartz's picture

Regarding phpmyadmin, you will have to update its apache configuration (/etc/phpmyadmin/apache.conf) to something similar to include the following lines, and update the VirtualHost setting to *:443
NameVirtualHost *:443
Alias /phpmyadmin /usr/share/phpmyadmin
The default phpmyadmin configuration in TurnKey appliances force https, hence the above configuration listens on port 443 instead of 80.

If however you wish to change this, set it to FALSE in /etc/phpmyadmin/config.inc.php
$cfg['ForceSSL'] = FALSE;

Regarding webmin, just follow the steps described in http://www.webmin.com/apache.html

Good luck!
jmaccs64's picture

I have changed the settings to redirect for port 443, and when I browse to the directory, it replies that it doesn't exist. Thanks
jmaccs64's picture

I got phpmyadmin to work, however, I am having the toughest time implementing the directions on http://www.webmin.com/apache.html No success... Any other pointers? or tutorials specific to the setup of "Turnkey LAMP" Thanks Again! Joe
Alon Swartz's picture

If your having trouble configuring Webmin to run solely with Apache, you could give the Webmin In A Sub-Directory Via A Proxy a try - explained in the same link above but simpler to configure.

Just take note to change the port 10000 described in the documentation to 12321 (the default webmin port used on TurnKey appliances.

Let us know how it goes.

Add new comment