• Accessing Apache2 URL without port number (change of port number) while

    From peng0316@gmail.com@21:1/5 to All on Wed Feb 1 22:47:13 2017
    Hi all experts,

    I am a newbie to the linux (ubuntu) and also Apache2 Webserver. I have a serious question which I am sure probably have been answered and asked zillion times but I can't seem to find a way making it work so here we go. This is my summary below -

    1) Running Zorin 12 based on 16.04
    2) Setup Apache2 with SSL (HTTPS)
    3) /usr/sin/apache2 -S shows apache2 are listening in 2 ports (443 in Default-ssl.conf and 12345 as listening port (do not wish to use default port)
    3.1 - how do I change it to only port 12345 instead of 443 (I know I can change it in default-ssl.conf but then I can't access the URL
    4) Forwarded port from 13345 to 443 based on the point 3 set up (everything is working)
    5) It is set up to use Nextcloud server which is working as well
    6) I can access URL as https://mydomainname.com:12345/nextcloud but now that expose the risks as I don't want people to see the open port number. I just can not find a way to change the setting to make it work --> https://mydomainname.com/nextcloud

    If anyone can help me, it will be greatly appreciated!

    BP

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From dferradal@gmail.com@21:1/5 to All on Thu Feb 2 03:44:44 2017
    El jueves, 2 de febrero de 2017, 7:47:14 (UTC+1), peng...@gmail.com escribió:
    Hi all experts,

    I am a newbie to the linux (ubuntu) and also Apache2 Webserver. I have a serious question which I am sure probably have been answered and asked zillion times but I can't seem to find a way making it work so here we go. This is my summary below -

    1) Running Zorin 12 based on 16.04
    2) Setup Apache2 with SSL (HTTPS)
    3) /usr/sin/apache2 -S shows apache2 are listening in 2 ports (443 in Default-ssl.conf and 12345 as listening port (do not wish to use default port)
    3.1 - how do I change it to only port 12345 instead of 443 (I know I can change it in default-ssl.conf but then I can't access the URL
    4) Forwarded port from 13345 to 443 based on the point 3 set up (everything is working)
    5) It is set up to use Nextcloud server which is working as well
    6) I can access URL as https://mydomainname.com:12345/nextcloud but now that expose the risks as I don't want people to see the open port number. I just can not find a way to change the setting to make it work --> https://mydomainname.com/nextcloud

    If anyone can help me, it will be greatly appreciated!

    BP

    Exposed port?

    https://whatever/ also "exposes" port is 443.

    There is not "exposed" port anything in here, you just use one port or another, nothing to hide really. If you want to use a port, use it, just know browsers will always assume 443 if you don't specify any with https.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)