Changing Apache default listen port and forward it

Status
Not open for further replies.

captainkent

Dabbler
Joined
Nov 12, 2016
Messages
10
Hi guys,

I would like to host a website from my FreeNAS box in a jail, called domain.com, which is linked to my external IP. I would like to change the port from 80, to 8080. When I edit the Listen parameter in httpd.conf, I am able to access my website internally with <jail_ip>:8080 and domain.com:8080.

It isn't possible to forward 80 to 8080 on my router, so I would like to see if it is possible I can get Apache to redirect any *:80 requests to *:8080. I've read a bit into VirtualHost, but I'm unsure whether this is the solution or not as I can't get it to work.

Any suggestions?
 
Status
Not open for further replies.
Top