PHP & MySQL: Novice to Ninja, 6th Edition - not displaying index.html in chapter 1

I’m on chapter 1 and have installed git, virtualbox, vagrant, cloned the repo and made the Project and public directories in the correct place. When I naviagate to http://192.168.10.10 I dont see the index.html document i created. Am using Windows 10 OS.

Code i ran in the bash terminal:

git clone https://github.com/swader/homestead_improved my_project
cd my_project; mkdir -p Project/public
bin/folderfix.sh

Then i ran vagrant up and navigate to the url above, display Hmmm...can’t reach this page message.

Am I missing something? Thx for your help in advance.

Hi @hebermisael, it will depend on your server configuration but have you tried renaming it to index.php instead?

Hi Andres, thank you for your quick response. I changed the file extension and that didn’t work on Edge browser but when I tried it on Chrome, it worked (with the .html and .php extension). Don’t know if this is a bug but I’ll be switching over to Chrome for testing. Thx. Heber.

That seems very strange as server side technology will not behave differently from one browser to the other. Perhaps you have something client side like styles or javascript that is not supported crosss browser? Perhaps even the page has been cached?

I’ve cleared my cache form the Edge browser and still not working. May need to investigate at a later time. At least it’s working on Chrome. Thx for your help. Heber.

Glad you got it working. It looks like this is a known issue with Edge, there are a few suggestions here https://social.technet.microsoft.com/Forums/en-US/0face535-3c7a-4658-be34-6c376322ca34/microsoft-edge-cant-open-local-domains?forum=win10itpronetworking

Using Firefox or Chrome is a workaround but it’s not very helpful if you want to test your site in Edge.

Tom, thx for your help, I’ll take a look at the post to see if any of the suggestions solves this problem. Heber

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.