Is My First Website Ready for Production?

0
5
Asked By TechieNinja42 On

Hey everyone! I'm getting ready to launch my first website and could really use your insights on whether everything looks good or if I've overlooked something important. Here's a bit about my setup:

**Stack & Setup:**
- I'm using Next.js with internationalization for both English and my native language.
- The site has a few pages: an index, about, and contact, plus some images.
- No CMS or database at the moment.

**Infrastructure:**
- Everything is running inside a Docker container on localhost.
- Hosting on a VPS with AlmaLinux.
- I'm using firewalld, locking down most interfaces with exceptions:
- Port 22 for SSH, accessible only through a standard user account with password login disabled (I'm using ed25519 keys instead).
- Port 443 where Nginx is set up.
- Nginx is taking care of TLS termination and routes requests to the Docker container.

**TLS & Domain:**
- I'm implementing Let's Encrypt for TLS.
- The domain is registered with Cloudflare, which I heard is a solid choice for registrars.
- I'm utilizing Cloudflare's free CDN and DDoS protection.

Is my approach okay, or am I missing anything crucial?

2 Answers

Answered By CodeCrafter88 On

Have you set up any monitoring? I recommend Grafana with Prometheus and Loki. You can even run those in the same Docker container if you want. Also, for adding multiple languages easily later, consider trying my platform SejHey. It can AI-translate and bundle translations swiftly after your launch.

TechieNinja42 -

Thanks, I’ll check it out!

Answered By WebWizard99 On

Hey, looks pretty good overall! But make sure to open port 80 on your Nginx to redirect traffic to HTTPS. If someone types your website without 'https', they might hit a timeout. Also, it’s smart to set up a monitoring service to alert you if your site goes down. Do you have a plan for regularly updating AlmaLinux and your Docker images? That’s important too!

TechieNinja42 -

Thanks for the tips! I’ll configure Nginx to allow port 80. I plan on rebuilding images and updating the system monthly or whenever vulnerabilities are disclosed. I’m also considering UptimeRobot for monitoring. Any other suggestions?

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.