🚀 Available for Freelance, Remote, and Full-Time Opportunities. Let's build something amazing together.

News
1 min read

Let's Encrypt HTTPS on an IP Address With FrankenPHP

Learn how to configure automatic Let's Encrypt TLS certificates directly on public IP addresses using FrankenPHP.

A

Author

1 week ago

Automated TLS on Raw IP Addresses with FrankenPHP

Traditionally, obtaining automated Let's Encrypt TLS certificates required a fully qualified domain name (FQDN). With recent ACME protocol updates and FrankenPHP's integrated Caddy web server, obtaining HTTPS certificates directly on public IP addresses is now straightforward.

# Caddyfile
203.0.113.45 {
    tls admin@example.com
    
    frankenphp {
        web_root /var/www/html/public
    }
}