https://inclouds.space/localhost-domains

.localhost domains

ローカル環境でWebアプリを開発する際に、カスタムドメインを使用する方法を紹介しています。

通常はlocalhost:ポート番号でアクセスする代わりに、appname.localhostのようにアクセスできます。

設定には、launchd、/etc/hosts、Caddyを使用し、DNS設定にdnsmasqを利用する方法も紹介されています。

Reply to this note

Please Login to reply.

Discussion

No replies yet.