Score:0

Multiple web service (using HTTP/HTTPS protocol) in single baremetal machine

cn flag

I am a newbie for web and network stuff.

I want to hosting the following web services for my personal use:

  • Gitea
  • Nextcloud
  • pypiserver (Private pypi server)
  • Ktra (private rust registry server)

I only have one machine which only have single network interface (single IP address).

I wish it can allocate URL for each service like below:

  • Gitea: (https://my-ip-addr/gitea/)
  • Nextcloud: (https://my-ip-addr/nextcloud/)
  • pypiserver: (https://my-ip-addr/pypi/ <- for web browser; https://my-ip-addr/pypi/simple/ <- for pip).
  • Ktra: (https://my-ip-addr/ktra/api/v1/...)

Is there any possible way to do so?

Romeo Ninov avatar
in flag
Questions on Server Fault must be about managing information technology systems in a business environment. Home and end-user computing questions may be asked on Super User, and questions about development, testing and development tools may be asked on Stack Overflow.
jp flag
Start by learning about these general concepts: [virtual hosting](https://en.wikipedia.org/wiki/Virtual_hosting) & [reverse proxy](https://en.wikipedia.org/wiki/Reverse_proxy).
Score:0
cn flag

For first, you need to install the web server on your baremetal machine like apache or NGINX. Secondly, you need to make setup for each domain on you provider DNS CONFIGURATION. Next, in config files in e.g. NGINX you set the public directory for each domain. This is not complicated for http protocol but for https it is not simple for newbie.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.