PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Wednesday, September 21, 2022

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

 September 21, 2022     virtualhost, wamp, wampserver     No comments   

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)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

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

Total Pageviews

1,209,954

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © 2025 PHPFixing