I'm not using a a dedicated server to host on amazon. I just set up an s3 bucket, set it to allow public access and to server the files as a website, and then used cloudfront to act as like a website sitting on a CDN (i think thats how they explained it). I think letsencrypt didn't have a method for creating an SSL cert for a namescheap domain (or maybe it was GoDaddy).for ssl use letsencrypt (with certbot). it's free and good enough for hobby/project sites .
to setup on linux it is just a handful of commands.
digital ocean has a tutorial for linux ..
How To Secure Apache with Let's Encrypt on Ubuntu 20.04 | DigitalOcean
Let’s Encrypt is a Certificate Authority (CA) that facilitates obtaining and installing free TLS/SSL certificates, thereby enabling encrypted HTTPS on web se…www.digitalocean.com
on windows ....
with lunanode you set up your server then you have to go into the DNS section and set up an A record and NS records to lunanodes nameservers.
on the namecheap side go into the DNS section and point three entries at the lunanode nameservers using toggle set to "custom DNS".
if you are running your own linux server then set up ufw. blacklist everything and then just open the ports for ssl (maybe change from 22), desktop (3389 if you are using it) and your web stuff (80, 443).
if you are hosting linux on amazon then still use ufw but you might need to open more ports. i don't know amazon hosting.
which webserver(s) are you using? you might have mentioned it before but i haven't read all of the previous posts.
Sorry, I might be confusing you guys about the SSL and domain. My business partner has the Godaddy domain on his Godaddy account, but i don't have the login for that. I needed an SSL cert so I could serve the backend api with https, so I just bought a new domain with namescheap (similarly named) and got the SSL for that site and used if for https.
Now I'm working on creating just a static webpage, since the api backend is for my mobile app, I just wanted something simple where I didn't have to worry about a server.
Lol @ your windows comment. I will only ever host on Linux. They shoulda never told me about WSL and Docker desktop. Love me some linux deployments