CodeIgniter Forums
codeigniter’s server DNS address could not be found - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: Installation & Setup (https://forum.codeigniter.com/forumdisplay.php?fid=9)
+--- Thread: codeigniter’s server DNS address could not be found (/showthread.php?tid=69035)



codeigniter’s server DNS address could not be found - richarddunnebsc - 09-29-2017

I downloaded codeigniter, extracted the folder and copied it to CodeIgniter folder in c:/wamp64/www/CodeIgniter.  It appears in localhost projects after a refresh.  However when I open it I get the error 
codeigniter's server DNS address could not be found.  
I have restarted DNS to no affect.  I checked the codeigniter website and it doesn't mention DNS configuration when installing.  Any help is appreciated.
Resolved. Can't remember where the setting is, either in Apache or CodeIgniter, to do DNS look ups. It was set to FALSE, I changed it the TRUE, refreshed wampserver and as luck would have it...


RE: codeigniter’s server DNS address could not be found - ciadvantage - 09-29-2017

I think wamp maybe similar to that of xamp in which I used before on my window laptop a while ago. IT must be the way you set it up
on the virtualhost file under apache2 dir.

you can have your dns name locally set under hosts file of windows. Open it up and add like
127.0.0.1 yourtest.com


RE: codeigniter’s server DNS address could not be found - InsiteFX - 09-30-2017

They did have a problem with wamp64 not sure if it's been fixed now!


RE: codeigniter’s server DNS address could not be found - jreklund - 10-06-2017

Wamp don't want you too have your site under http://localhost/ so they remove that part of the URL. You should add your own virtualhost instead.

1. Press "Add a Virtual Host".
2. "Name of the Virtual Host No diacritical characters (éçëñ) - No space - No underscore(_)"
example.com
3. "Complete absolute path of the VirtualHost folder Examples: C:/wamp/www/projet/ or E:/www/site1/"
c:/wamp64/www/CodeIgniter

Now rightclick on the Wamp icon => Tools => Restart DNS

But if you really want http://localhost/ added to "Your Projects".
Rightclick on the Wamp icon  => Wamp Settings => Add localhost in url (Caustion: Risky! Only for experts)


RE: codeigniter’s server DNS address could not be found - Amberasma - 03-24-2018

Mostly Windows 8, 8.1 and Windows 10 users unable to access some websites and an error "dns address could not be found"appear on them. But this happen only a few websites, not every website. Way 1: Clear host cache Open private tab and in the URL bar write chrome://net-internals/#dns then you will see the clear host cache button and click on it. Way 2: Update the DNS.


RE: codeigniter’s server DNS address could not be found - InsiteFX - 03-25-2018

@Amberasma,

That has nothing to do with it, on Windows it setups in the configuration
to use a Windows IIS server on port 80 so it needs to be turned of.

Information Services IIS


RE: codeigniter’s server DNS address could not be found - mollyvaynerchuck - 04-12-2022

Yes, it is absolutely true. I am also facing this type of issue. I don't know why there are so many complexities in every upgrade any company made in their software or products. Tech is meant to be simple and helpful but what I have realised is that it is getting more and more complex. That is why forums are made where we can easily find answers related to our issues.


RE: codeigniter’s server DNS address could not be found - cartcoders - 04-26-2022

(03-24-2018, 03:56 PM)Amberasma Wrote: Mostly Windows 8, 8.1 and Windows 10 users unable to access some websites and an error "dns address could not be found"appear on them. But this happen only a few websites, not every website. Way 1: Clear host cache Open private tab and in the URL bar write chrome://net-internals/#dns then you will see the clear host cache button and click on it. Way 2: Update the DNS.

Thanks for your reply, It really help to fix my issue