Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Can't access hosts offline #104
When offline I'm not able to access any Pow hosts through the browser.
I can ping them, or access them with lynx, but all the desktop browsers I've tried (FF, Chrome, Safari) are unable to resolve the host. I can only access them offline by manually adding them to
I guess this is down to DNS caching by the browser / OS, and is not really a Pow issue, but maybe someone can explain what's going on?
3 similar comments
+1, doesn't work in Lion (offline) unless I update /etc/hosts to include 127.0.0.1 myapp.dev. Does anyone know of any issues that can happen by running pow this way?
I run all my projects in a specific directory: (not sure how many people do this)
I am able to run multiple sites at the same time as long as they are in /etc/hosts...
Can't pow just run a little utility that checks an environment variable which is my WebDevelopment path, gets the directories in this path, checks them against /etc/hosts, and adds them to /etc/hosts if needed.
You could also get the links in the .pow directory auto updated this way as well.
I was browsing the configd source trying to debug another problem, when
(See UPDATE section)
Essentially, if you specify the special root domain '.' as the domain
It works on my machine, anyway. I thought I'd let you guys know here
I have since moved on to Linux as my desktop OS since I wrote that
The solutions posted worked for me for 10.6 and 10.7 and allowed me to
referenced this issue
Oct 23, 2014
$ cat /etc/hosts
The powder gem can take care of that by using the following command:
This fixed the problem for me.