w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Configure site on multiple ports

Try this instead (most of the configuration omitted for clarity):

<VirtualHost 192.168.50.4:8080>
    DocumentRoot /home/vagrant/www/vhosts/test.t/htdocs
</VirtualHost>

Make sure you've actually enabled the site and reloaded Apache:

a2ensite test
service apache2 reload

And also make sure you're accessing it under the right IP address (e.g. not localhost or 127.0.0.1).





© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.