Open in /etc/apache2 : ports.conf
in Listen 80
Add multiple listening ports as follows
Listen 8011
Listen 8088
This increases the monitoring of ports 8011 and 8088
in /apache2/sites-available/000-default.conf
<VirtualHost *:80>ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
<VirtualHost *:8011>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
<VirtualHost *:8088>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
Restart the Apache service, you can use
localhost
localhost:8011
localhost:8088
Visit your different website