Jul 18, 2023

Ubuntu : Add/Change Apache 2 Ports

Add or Change Apache 2 server ports in Ubuntu.

1. sudo nano /etc/apache2/sites-enabled/intranet.gob.com.my.conf

2. Add line --> <VirtualHost *:80 *:8888>

3. sudo nano /etc/apache2/ports.conf

4. Add line --> Listen 80
                         Listen 8888

5. sudo systemctl restart apache2


!!! HAPPY COMPUTING !!!

No comments:

Post a Comment