HTTPS Setup Guide for program.likhon.org

DNS Configuration Status

Valid Configuration Assigned

Good news! Your DNS records are set up correctly, but it can take some time for them to propagate globally.

Check DNS Propagation
Verify that your DNS changes have propagated globally

DNS changes can take up to 48 hours to propagate worldwide, though most changes are visible within a few hours.

You can also use external tools like whatsmydns.net to check DNS propagation across multiple locations.

Complete Your HTTPS Setup

Complete HTTPS Setup
Follow these steps to enable HTTPS on your server and eliminate the security warning

1. Install SSL Certificate

Based on your hosting provider, choose one of these methods:

  • Shared Hosting: Use your hosting control panel (cPanel, Plesk, etc.) to install a Let's Encrypt certificate
  • VPS/Dedicated Server: Use Certbot to obtain and install a Let's Encrypt certificate:
    sudo apt-get update
    sudo apt-get install certbot
    sudo certbot --apache # For Apache servers
    sudo certbot --nginx # For Nginx servers
  • Cloudflare: Enable the Cloudflare SSL/TLS service in your Cloudflare dashboard

2. Configure Web Server for HTTPS

Update your web server configuration to use the SSL certificate:

  • Apache: Enable the SSL module and update your virtual host configuration
    sudo a2enmod ssl
    sudo a2ensite default-ssl
    sudo systemctl restart apache2
  • Nginx: Update your server block to include SSL parameters
    server {
      listen 443 ssl;
      server_name program.likhon.org;
      ssl_certificate /path/to/certificate.crt;
      ssl_certificate_key /path/to/private.key;
      # ... rest of your configuration
    }

3. Set Up HTTP to HTTPS Redirects

Ensure all visitors are automatically redirected to the secure version of your site:

  • Apache (.htaccess):
    RewriteEngine On
    RewriteCond %HTTPS off
    RewriteRule ^(.*)$ https://%HTTP_HOST%REQUEST_URI [L,R=301]
  • Nginx:
    server {
      listen 80;
      server_name program.likhon.org;
      return 301 https://$host$request_uri;
    }

4. Test Your HTTPS Configuration

After implementing these changes, test your site to ensure HTTPS is working correctly:

  • Visit https://program.likhon.org in your browser
  • Check for the padlock icon in the address bar
  • Use SSL Labs Server Test to verify your SSL configuration
Simplified Alternative: Use a Cloud Platform
For a simpler solution, consider migrating to a platform that handles HTTPS automatically

Modern hosting platforms can eliminate the complexity of manual HTTPS configuration:

  • Vercel: Automatic HTTPS, global CDN, and easy deployment from Git repositories
  • Netlify: One-click HTTPS setup with automatic certificate renewal
  • Cloudflare Pages: Free SSL/TLS with Cloudflare's security features
  • GitHub Pages: Free HTTPS for static websites with custom domains

These platforms will automatically handle SSL/TLS certificates and HTTPS configuration for you, eliminating the need for manual server configuration.