Is it possible/practical to host multiple websites from the same VPS server?

I have a number of domains (for example): bilbobaggins.com, rx4free.com, mypersonalblog.com

I don’t get much traffic and I’m not interested in paying for separate servers for each domain. But I still want https certificates to work properly.

Now I’m familiar with setting up wildcard subdomains with traefik and letsencrypt. But can I do the same or similar with completely different domains such as listed above?

  • Qazwsxedcrfv000A
    link
    fedilink
    141 year ago

    Typical web servers like Apache and Nginx support virtual hosts (aka server blocks in Nginx terminology)

    • Noisy
      link
      fedilink
      English
      11 year ago

      I use virtual hosts frequently with Apache, it’s definitely a good way to go.