Follow us on Twitter...
Stay up to date with the latest news, special offers and advice from CensorNet on Twitter... we are Tweeting regularly!
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 80
To the new port number, e.g.
NameVirtualHost *:1234
Listen 1234
Save 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 restart
The port will have now changed, you will need to log back in to the Web control panel on the new port, e.g:-