Relative Content

Tag Archive for nginxssl-certificateweb-hostingportforwarding

I want to host 2 websites on one Nginx server, separate DNS. Can’t get SSL to work

I have one website “www.site1.com” registered with Cloudflare, with SSL through Cloudflare, which I host on my own server (Nginx on Linux Debian). I’m trying to add a 2nd website “www.site2.com”, which is registered with Google Domains. I added the website source files to /var/www/html, added a 2nd server block in a separate file in /etc/nginx/sites-available, and a symbolic link in /etc/nginx/sites-enabled