---
title: "Discussion on \"Use private domains with ssl certificates instead of localhost:port\" | Hashnode"
description: "Discussion on \"Use private domains with ssl certificates instead of localhost:port\". If you develop several projects you should consider to use private domains, e.g. https://foo.local , instead of e.g. http://localhost:12345.\n\n\nWhy?\n\nObviously: you don't have to remember ports.\nPasswords: as you don't mess with ports, your dev passwo..."
url: "https://hashnode.com/posts/use-private-domains-with-ssl-certificates-instead-of-localhostport/6246da0316cdedfe9f7cb248"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Use private domains with ssl certificates instead of localhost:port](https://dev.kit.eco/use-private-domains-with-ssl-certificates-instead-of-localhostport?utm_source=hashnode&utm_medium=feed)

If you develop several projects you should consider to use private domains, e.g. https://foo.local , instead of e.g. http://localhost:12345. Why? Obviously: you don't have to remember ports. Passwords: as you don't mess with ports, your dev passwo...

Apr 1, 2022 · 3 min read · dev.kit.eco  
Read the article

-   [#webdev](https://hashnode.com/tag/webdev)
-   [#domain](https://hashnode.com/tag/domain)
-   [#ssl](https://hashnode.com/tag/ssl)
-   [#programming](https://hashnode.com/tag/programming)

## Written by

[Alex Kit](https://hashnode.com/@tenbits)

@tenbits · Germany

  
[View profile](https://hashnode.com/@tenbits)

JS, TS, web, node

## Responses 1

Markdown supported · ⌘↵ to post

[Sandeep Panda](https://hashnode.com/@sandeep)

[Apr 2, 2022](https://hashnode.com/posts/use-private-domains-with-ssl-certificates-instead-of-localhostport/6246da0316cdedfe9f7cb248/comment/6247fc6a16cdedfe9f7cc9fa)

This is pretty cool. I was not aware of `hostile` - seems like a neat tool to manipulate `/etc/hosts`.

[Alex Kit](https://hashnode.com/@tenbits)

[Apr 4, 2022](https://hashnode.com/posts/use-private-domains-with-ssl-certificates-instead-of-localhostport/6246da0316cdedfe9f7cb248/comment/6247fc6a16cdedfe9f7cc9fa#reply-624b1db216cdedfe9f7d0eef)

Thanks, yeap, there are lot of cool things and tools in npm, which can help to manage various things easier. _But due to the latest security issues with malicious packages, everybody should check the repos and authors before installing._
