Koozali.org: home of the SME Server

Changing web port

PeeKay

Changing web port
« on: November 13, 2000, 10:22:20 PM »
How would I go about changing the default web port from 80 to somehting like 8001?

Thanks

Peekay

Luke Drumm

RE: Changing web port
« Reply #1 on: November 15, 2000, 03:03:00 AM »
Hi,

The file that needs changing 'at the end of the day' is /etc/httpd/conf/httpd.conf.

Sidenote: If you're not already familar with the 'custom-template' procedure for e-smith, I would suggest having a look at some of the linked web sites on the main e-smith page as a few of them carry useful bits on this.

To modify the 'main' port that Apache listens, you'll need to modify the line which reads:
Port 80

to something else. eg:
Port 8001

For simplicity, I would suggest it might be easier to investigate the use of 'virtual domains' instead. That way you can serve other ports without the loss of 'normal' services.

Regards,
Luke.