Wednesday, September 21, 2022

[FIXED] Why my new virtual host run only on edge?

Issue

I used Wamp menus to add a new virtual host http://mycrud.dev/ but this url only load on edge but not firefox or chrome !!. I reviewed all the files for example httpd-vhosts.conf has these lines:

<VirtualHost *:80>
    ServerName mycrud.dev
    DocumentRoot "d:/symfony4/mycrud/public"
    <Directory  "d:/symfony4/mycrud/public/">
        Options +Indexes +Includes +FollowSymLinks +MultiViews
        AllowOverride All
        Require local
    </Directory>
</VirtualHost>

Windows Hosts file has this line:

127.0.0.1   mycrud.dev

So why it is not loading on Firefox and Chrome ?


Solution

Chrome & Firefox now force .dev domains to HTTPS via preloaded HSTS

.dev is now an offical TLD you should change your .dev domain to something like .test

https://www.google.com/search?q=dev+tld+chrome+firefox



Answered By - Thijn
Answer Checked By - Terry (PHPFixing Volunteer)

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.