Apache2 – Change HTTPS Port to different number

Change the default https port in the file ports.conf: vim /etc/apache2/ports.conf #No line above for https! like Listen 127.0.0.1:9002 this is wrong <IfModule ssl_module>         Listen 9002 </IfModule> <IfModule mod_gnutls.c>         Listen 9002 </IfModule> a2enmod ssl configure the new https … Apache2 – Change HTTPS Port to different number weiterlesen