p***@gmail.com
2017-02-02 06:47:13 UTC
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
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