> Virtual Host
> Apache Virtual Sites Not Working
Apache Virtual Sites Not Working
Word for a non-mainstream belief accepted as fact by a sub-culture? Available Languages: en | fr | ja | ko | tr CommentsNotice:This is not a Q&A section. Any other request to an unspecified address and port is served from the main server. However, if you also know your server's IP address is 192.168.33.10, then you can edit your hosts file and add the entry 192.168.33.10 myproject.local, which informs it where to look when Source
Listen 80 # This is the "main" server running on 172.20.30.40 ServerName server.example.com DocumentRoot "/www/mainserver" DocumentRoot "/www/example1" ServerName www.example.com # Other directives here ... DocumentRoot "/www/example2" The test.com virtual host is working!