Reputation: 75
I am trying to run a few php files using my localhost . I have wamp installed and its running fine. I created a folder in the "www" directory and the folder is visible when I run the localhost. Now I have a few .php files that I would like to run but I am unable to access them as I am receiving this error "ERR_NAME_NOT_RESOLVED "
I researched on line and made changes to my index.php file. I changed the
$suppress_localhost = true; to $suppress_localhost = false;
but I am still receiving the same error.
Any help would be appreciated.
Upvotes: 5
Views: 17346
Reputation: 11
I found this helpful for my issue. Browser cached the dns somehow. All I need to do just flush the dns caching.
For windows:
ipconfig /flushdns
See Docs.
Upvotes: 1
Reputation: 1298
For all those who, like me, also end up here: I had this error due to a mistake in thinking.
Upvotes: 1