Post4VPS Forum | Free VPS Provider
Hosting multiple HTTPS domain under a server. - Printable Version

+- Post4VPS Forum | Free VPS Provider (https://post4vps.com)
+-- Forum: Web Technology & Internet (https://post4vps.com/Forum-Web-Technology-Internet)
+--- Forum: Web Development (https://post4vps.com/Forum-Web-Development)
+--- Thread: Hosting multiple HTTPS domain under a server. (/Thread-Hosting-multiple-HTTPS-domain-under-a-server)



Hosting multiple HTTPS domain under a server. - fujiwara2000 - 08-17-2020

Usually I have used the netlify to get such stuffs done. Yesterday, I have got a VPS for some other purposes and I decided to host my website on it too. Any idea on how to do it?


RE: Hosting multiple HTTPS domain under a server. - Mashiro - 08-17-2020

You use seperate vHosts per site and give each site its own TLS certificate (I recommend Let's Encrypt since it is free and supports Wildcard). Or what exactly is your question? Like how to actually setup the whole web server, etc. plus installing your website scripts?


RE: Hosting multiple HTTPS domain under a server. - Honey - 08-17-2020

If you're using Apache you can follow my tutorial(here on P4V's Tutorial Section) to setup your websites, If you're using nginx u can find a similar article on Google. Its really easy to host multiple sites with https granted you have a valid certificate issued. (Using LetsEncrypt, Cloudflare's Certificiates or some other similar service).


RE: Hosting multiple HTTPS domain under a server. - Manal - 08-18-2020

(08-17-2020, 04:38 AM)Hidden Refuge Wrote: You use seperate vHosts per site and give each site its own TLS certificate (I recommend Let's Encrypt since it is free and supports Wildcard). Or what exactly is your question? Like how to actually setup the whole web server, etc. plus installing your website scripts?

This can be good. But doing so will require you to keep a checklist of stuff you're doing, for which, you need to be kinda "intermediate" at this level.
Alternatively, you can use CyberPanel(I use it for my clients requiring to run big stuff on their VPS and don't have much time to keep a checklist).


RE: Hosting multiple HTTPS domain under a server. - tryp4vps - 08-20-2020

I would suggest to configure multiple domains using nynix.

Basically you will just need to let nynix know where to locate your web pages for different domains.

And don't forget to use Let's Encrypt for HTTPS access which is actually very important. Smile