joglomedia / LEMPer

LEMPer Stack is terminal-based LEMP / LNMP installer and manager for Debian & Ubuntu cloud or virtual server (vps) and on-premise (bare metal).

Home Page:https://lemper.cloud/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for local/development domain

joglomedia opened this issue · comments

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.

.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.

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

Current solution as mentioned in issue #85