Testing Multisites with vagrant or Can I use multisite with only an IP address (without domain name)

The 404 error you are seeing is from Apache. Which means you did not configure Apache properly. It is not an IP address problem at this point. Possible problems – .htaccess file is not working or Apache is not allowing .htaccess file. One way to see if your htaccess file is being process is by adding this line at the top ‘deny from all’ Then access the site, you should get denied.

To enable htaccess in Apache httpd.conf add the AllowOverride directive

<Directory ..>
    ...
    AllowOverride All
    ...
</Directory>

Leave a Comment