I'm trying to setup a virtual host to access my craft project through ontherocks.dev, without any success yet.
- www.ontherocks.dev : correct response
- www.ontherocks.dev/admin : Apache 404
- www.ontherocks.dev/index.php/admin : redirected to www.ontherocks.dev/admin/install with an Apache 404
I didnt "install" craft yet, which explains the redirect. Here are my config files for the virtual host :
httpd-vhosts.conf
<VirtualHost *:80>
ServerName ontherocks.dev
DocumentRoot "C:\wamp\www\y-lynx"
ServerAlias www.ontherocks.dev
DirectoryIndex index.php
</VirtualHost>
hosts file in system32/drivers/etc
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
127.0.0.1 ontherocks.dev
Thanks for your help !
ServerAlias
toontherocks.dev
(minus the www) and access the site usingontherocks.dev
.