I am working on my old windows 7 user for a month and everything works fine but eventually, our admin gave me new ADID (active directory ID). Then when i log on using that ADID. My localhost is not working anymore. It gives me an error below :
Error (dns_unresolved_hostname)
Your requested host "localhost" could not be resolved by DNS.
For assistance, Please. contact our Help Desk.
I tried to navigate at http://ip_address/ and it is working fine but the localhost
is really gives me a headache.
But when i try to log on using my old ADID. Everything is back to normal. Already tried to reinstall xampp and laragon on my new ADID. Already tried everything i saw on the internet, and still not working.
By the way, this is my hosts
127.0.0.1 localhost
127.0.0.1 sample1.dev
127.0.0.1 sample2.dev
My configuration on my XAMPP is the default. I haven't reconfigure it yet since fresh install.
Update : While i'm investigating this case, i try to remove my internet connection then navigate to http://localhost
. My browser says "No internet connection" so in my understanding, my localhost
and 127.0.0.1
is pointing outside my local machine. Any idea guys?