These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Apache2 Default Virtual Host for IP on the new forum.
I am raging here more than 3 hours how to make Apache2 work for me how I want. I want when I access IP address directly, Apache2 serve me content from /var/www/html and not from virtualhost.
I tested everything including 000-default.conf file:
<VirtualHost *>
DocumentRoot /var/www/html
</VirtualHost>
Nothing works. Apache2 (or Virtualmin) everytime use first VirtualHost in list but not my default file. Command apache2ctl -S not showing 000-default config at all, too.
How to make it works!