LEMPer icon indicating copy to clipboard operation
LEMPer copied to clipboard

Add support for local/development domain

Open joglomedia opened this issue 6 years ago • 4 comments
trafficstars

Currently LEMPer CLI doesn't yet support local domain configuration, for example using domain name with .local / .app extension for local development purpose. So, we can access our local development stack at http://some-aplication.local or http://some-aplication.app.

But, due to the fact that LEMPer also doesn't yet include DNS server. It'd require another approach.

joglomedia avatar Sep 12 '19 10:09 joglomedia

.app domain has already used by Google, we will not use it for local domain. As an alternative we can use .test for local domain.

joglomedia avatar Oct 17 '19 08:10 joglomedia

Laravel Valet is good example to adopt

Ref: https://laravel.com/docs/6.x/valet

Source (in PHP) https://github.com/laravel/valet

Implementation must be initialized when v2.0.x is available

joglomedia avatar Oct 21 '19 07:10 joglomedia

Use dnsmasq

Doc: https://thekelleys.org.uk/dnsmasq/doc.html

Sample config: https://github.com/aviddiviner/til/blob/master/devops/set-up-a-local-test-domain-with-dnsmasq.md

joglomedia avatar Jul 11 '21 10:07 joglomedia

Current solution as mentioned in issue #85

joglomedia avatar Jul 21 '21 04:07 joglomedia