Changing Apache SSL port

I have changed my Apache SSL port from 443 to 8001 and my websites work well with port 8001.

But I will get this error whenever I enable/disable a plugin: "Failed to save enabled features : The Apache configuration on your system does not appear to be listening on port 443, which is needed to host SSL websites. If you do not plan to host SSL sites, this feature should be disabled in Virtualmin's module configuration page."

What I have missed out?

Thanks!

Status: 
Closed (fixed)

Comments

Howdy -- yeah, by default, Virtualmin expects to see Apache listening on port 443 for SSL.

You can tweak the Virtualmin config file to change where it looks for SSL though.

To do that, edit /etc/webmin/virtual-server/config, and change web_sslport to your preferred port, and then restart Webmin with this command:

/etc/init.d/webmin restart

Hi andreychek,

It works. Thanks a lot!