New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Offline dev- dns does not resolve correctly #61
Comments
@ptmkenny I'm pretty sure the That being said, I just want to add that I'm also on Mojave and I followed all of the instructions as well and I still have yet to get it to work. I used As always, thanks for an awesome product, because even with the little hiccups this is still worlds better than how I used to have to do local dev. |
UPDATE: I just did a |
Also! You need to make sure that your project domain with your TLD is in your etc/hosts file, or your URLs will still show up red after a |
@dirtystylus I'm going to read your blog post but a question: what about using dnsmasq? I think I had a working setup previously in linux with network-manager that didn't need an entry in /ect/hosts and just a wildcard dns entry in dnsmasq for .loc |
@miiimooo I can’t comment on the Linux side, but on the Mac OS side I had the |
This documentation was provided quite awhile ago and i can confirm it is out of date on multiple fronts. The most pressing are the ones notes by @dirtystylus over at https://github.com/lando/lando/issues/1581#issuecomment-487180543 It's also worth pointing out that while you can straight up use a TLD we DO NOT recommend that you do so. This is something that changed when we started providing better security and certificate management, Not sure when these will be deployed but here are some updates based on feedback |
Please complete the following:
Link to the page that needs to be updated or changed.
https://docs.devwithlando.io/guides/offline-dev.html
Describe the change you'd like
I followed the instructions, and when I get to step 12 (lando start), I get the announcement that my site is available at mysite.test.
But when I actually try to go to mysite.test, I get a DNS not found error. This happens both when I am online and offline. However, mysite.lndo.site resolves normally. (Additional note: lando gulp breaks when I have "test.me" in
~/.lando/config.yml
).Related issue: https://github.com/lando/lando/issues/448
Potential problem:
In step 10, it says to add "domain: test.me" to
~/.lando/config.yml
, and in step 12, it shows these results:But my actual results look like this (the .me) is still there:
Also, in step 4, it says to configure
dnsmaqs.conf
like this:address=/test/127.0.0.1
But some sources I checked online suggested it should be
.test
instead. (I don't have it working yet so I don't know what is correct, but as written the documentation currently does not appear to work on mojave (10.14.4)The text was updated successfully, but these errors were encountered: