eville84

Member
Jul 20, 2005
6
0
151
Hi guys,

I'm currently trying to set up cpanel on a router.

I know this prolly issnt a good idea but its all i can do untill my new connection is set up at the end of the month.

I have been able to succesfully port forward every other port i need except port 80.

In the past when i was running apache on its own I just edited httpd.conf to have the listening port set at 8080 (then i set port forwarding on my router to port 80).

When i edit /usr/local/apache/conf/httpd.conf to go to port 8080 when running cpanel it doesnt change the port. Is there another httpd.conf file i should be editing?

I've searched the docs and this forum and have not been able to find an answer to this question. If there is already a thread on here about this please direct me to it. Thanks in advance.
 

nickb

Well-Known Member
Feb 25, 2005
346
0
166
India
you need to change only below two lines in httpd.conf...
#port 80
and
#Listen 80

and perhaps in /etc/services also...never tried ..
 

eville84

Member
Jul 20, 2005
6
0
151
the only two httpd.conf files i have are in /etc/httpd.old/conf and /usr/local/apache/conf I have changed anything in the file that is 80 to 8080. i still am finding port 80 being listend to in cpanel websites.
 

eville84

Member
Jul 20, 2005
6
0
151
anyone???

Does anyone know if any of the following to methods would work?


1)
Using Cpanel proxy (www.cpanelproxy.net)
- i know this tools is typically used to forward mail ports (2082) to port 80. But is there anyway to forward port 80 to a different port like 8080?


2)
Using a port forward application or command for linux.
- will this line do it:
ssh -L local-port:remote-hostname:remote-port [email protected]

Or is there a application you can install on linux that will do it?



If anyone has any knowledge on forwarding port 80 to another port in cpanel please help.