I have recently switched from XAMPP to AMPPS. I'm trying to create virtual hosts on my Windows 10 machine but can't get them work. This is how I'm creating them in the hosts file:
127.0.0.1 localhost
127.0.0.1 mysite.com
Then, in my httpd.conf located in ampps/apache/conf I have the following virtual host:
<VirtualHost 127.0.0.1:80>
ServerName mysite.com
DocumentRoot "C:/ampps/www/mysite/public"
</VirtualHost>
I'm currently working on a laravel project, I know there is homestead but in this case we are working with ampps, that's what I need to do this.
When I open mysite.com It returns server not found. I think that it's a windows problem. Thanks in advance.