I have created a Virtualhost for a project.
In httpd-vhosts.conf
:
<VirtualHost *:80>
DocumentRoot "C:/xampp/htdocs/"
ServerName localhost
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "C:/xampp/htdocs/.../public"
ServerName don.dev
</VirtualHost>
And in hosts
:
127.0.0.1 don.dev
When I log in to localhost redirects without problems to http://localhost/dashboard
But when I try to enter http://don.dev
for some reason it forces https://don.dev
and pulls error that "The connection is not private" .
Interestingly, in Chrome and Firefox this happens. But in Internet Explorer no (being able to see the page as it should be). Does anyone know why?
I have done it following the tips for Virtualhosts of the Xampp dashboard.
I've tried everything I found in google, and I've tried different keywords without coming up with a solution.