SSL Certificates
In the beginning, as a beginner, besides purchasing an expensive server, I also bought SSL certificates. These had an expiration of only one year, and some were limited to a single domain rather than offering Universal Domain (DV) validation for multiple domains.
Later, I used the panel’s visual application tool for SSL certificates to apply for open-source ones with a three-month validity period. If I forgot to renew them regularly, the website would revert to HTTP and show a high-risk, untrustworthy warning. Therefore, when setting up WordPress, the first priority is DNS resolution pointing to the server with HTTPS configured, which significantly reduces potential issues.
HTTPS
If you cut corners and configure WordPress over HTTP, WordPress redirects will constantly cycle between HTTPS and HTTP, potentially preventing normal website access. Additionally, HTTPS websites are not permitted to access HTTP resources or APIs. Therefore, both the primary domain and all subdomains must use HTTPS from the start to avoid any latent risks.
My current approach uses Caddy, fully assisted by AI for configuration. After Caddy is set up, there is no need to purchase SSL certificates or renew them every three months; Caddy handles it automatically. Previously, my independent WordPress blog had good SEO rankings, but it frequently encountered instances where the SSL certificate expired, making HTTPS unavailable. This caused access anomalies and led to a drop in rankings.
Here’s an important point: Large corporations invest in SSL certificates to demonstrate attention to encryption, security, and trust. Ordinary individuals or small companies can simply use open-source, free SSL certificates provided by trusted authorities (like Let’s Encrypt) without paying for them.
Certificate Monitoring
This article uses Uptime Kuma to monitor the SSL certificate expiration and the website’s accessibility status.
- SSL Monitoring: Uptime Kuma displays how long until the SSL certificate expires and allows setting up notifications (e.g., via ntfy) upon expiration.
- Availability Monitoring: You can set up alerts if the website goes offline. For instance, this could be due to malware infections causing 100% CPU usage, total unaccessibility, or other critical failures. Examples include:
- Domain expiration.
- Server destruction or downtime.
- Failed DNS resolution (upstream failure).
- Caddy errors.
I have personally encountered all of these issues above. That’s why I set up a dedicated Uptime Kuma instance—preferably on a separate server or cloud instance that won’t go down, though it can also be deployed locally on a Raspberry Pi or a small PVE host with port forwarding (a common use case for Homelab setups).
Tips
Currently, my deployment architecture is as follows:
- UMAMI: Deployed locally.
- MinIO: Deployed locally.
- Uptime Kuma: Deployed in the cloud.
- ntfy: Deployed in the cloud.
MinIO handles storing images and other files. Typically, you upload images first, then when WordPress publishes an article, it performs post-processing to compress the images and upload them to the blog’s storage repository. This involves several optimization strategies, such as using CDN resources and converting images to the efficient WebP format.
Yesterday, my broadband went down because construction workers accidentally dug up the fiber optic cable. Fortunately, the issue was resolved within a few hours. During this downtime, since UMAMI was running locally without internet access, some data failed to be recorded.
In summary, to have your website indexed, having HTTPS (with an SSL certificate) is mandatory. Furthermore, avoid intermittent certificate failures (like expiration) that cause days of unavailability for your site.