|
|
|
| |
|
|
Synopsis: You would like to change the port number that the CensorNet web control panel uses (default: port 80)
You can change the port number that the web server listens on by following these steps:-
Type: nano /etc/apache2/ports.conf
Change the following lines:
NameVirtualHost *:80 Listen 80To the new port number, e.g. NameVirtualHost *:1234 Listen 1234Save the changes by holding down Ctrl and pressing X then Y followed by Enter. Then you must change the entry for the Web control panel by editing:- nano /etc/apache2/sites-enabled/000-default Change the following line at the top of the file:- <VirtualHost *:80> ...To match the new port number:- <VirtualHost *:1234>Save the changes by holding down Ctrl and pressing X then Y followed by Enter. Now you must restart the Apache web server:- /etc/init.d/apache2 restartThe port will have now changed, you will need to log back in to the Web control panel on the new port, e.g:- http://10.0.0.254:1234/-- TimLloyd - 22 Jun 2009 |