Pages

Friday, June 20, 2014

Chagne Port 80 on ubuntu

Edit file port.conf

 vim /etc/apache2/ports.conf

and then You have to change your virtualHost setting,

vim /etc/apache2/sites-enabled/000-default


Change from ;

 <VirtualHost *:80>

to

 <VirtualHost *:8050>

And make sure that your ports.conf looks like

 NameVirtualHost *:8050

Testing :

 listen 8085

Restart apache
service apache2 restart
or
/etc/init.d/apache2 restart

check the result on firefox:

http://localhost:8085/ijinpedia/

No comments:

Post a Comment