If Apache shows the error "VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results" it means that your VirtualHost sections are not matching the NameVirtualHost directive in your configuration. To fix this follow these steps:
- Locate the directive NameVirtualHost, by default it should be something like: NameVirtualHost *:80
- Look at your VirtualHost declarations, they should match the NameVirtualHost, so they should be like <VirtualHost *:80>
- Alternatively, you can add more NameVirtualHost to match the additional VirtualHost sections.
- Restart Apache with service httpd restart (CentOS) or service apache2 restart (Ubuntu)