2 ms·
If you don't care about HTTPS on localhost but still want a fully qualified domain name you can simplify this approach even further. Let's say you have an app
by nickjj 8y ago
If you don't care about HTTPS on localhost but still want a fully qualified domain name you can simplify this approach even further.
Let's say you have an app running on localhost:8000 on your dev box.
If you goto lvh.me:8000, it will work without having to install or modify anything on your dev box or modify your DNS records for another domain. If your app had an "example" subdomain you could even goto example.lvh.me:8000.
I wrote about lvh and other useful free services that help developing apps without needing to install a DNS server or mess with SSL certificates at https://nickjanetakis.com/blog/ngrok-lvhme-nipio-a-trilogy-for-local-development-and-testing https://nickjanetakis.com/blog/ngrok-lvhme-nipio-a-trilogy-f....
- darrenf 8y agoRegarding lvh, see also: localho.st