Change apache server's default listening port

Tested on VPS hosting using ubuntu server 10.04.

Change the port number in the following files:
/etc/apache2/sites-enabled/example.com
/etc/apache2/ports.conf
/etc/apache2/sites-available/default
Finally, remember to restart apache server:
/etc/init.d/apache2 restart

No comments:

Post a Comment