Skip to main content

[Fixed my self] For those who try to connect to custom subdomain (cname) from cloudflare but not success

Comments

2 comments

  • Charkrid Th.

    Here's a summary of the troubleshooting process we went through:

    ### Initial Setup Issues
    1. **Domain Not Detected by Brizy**: 
       - CNAME records need to be correctly set and propagate globally, which can take time.

    2. **SSL Handshake Errors**:
       - SSL issues often arise due to conflicts between Cloudflare settings and the hosting provider’s SSL configurations.

    ### Resolutions and Steps Taken
    1. **DNS Configuration**:
       - Ensured CNAME records correctly pointed to Brizy.
       - Switched to "DNS only" mode initially to let Brizy handle SSL directly.

    2. **Proxy Settings**:
       - Proxying can cause SSL issues when Cloudflare and Brizy both attempt to manage SSL. Initially turning off proxy ensured Brizy could set up SSL without interference.

    3. **Cloudflare SSL/TLS Settings**:
       - Set SSL to "Flexible" to avoid conflicts since Brizy manages the SSL certificate.
       - This mode allows Cloudflare's flexibility without requiring full strict SSL checks from the backend.

    4. **Network Protocol Adjustments**:
       - Disabled HTTP/3 (QUIC) to rule out protocol-specific issues interfering with SSL.

    5. **Cache Clearing**:
       - Purged Cloudflare’s cache to clear any lingering outdated settings and used browser cache clearances.

    6. **Waiting for Propagation**:
       - Sometimes, DNS and SSL changes require several hours to propagate fully and stabilize.

    ### Key Takeaways
    - **Initial Setup**: Use "DNS only" while setting up new domains to let Brizy handle everything initially.
    - **CNAME Configuration**: Ensure precision in DNS settings and check them carefully.
    - **SSL Conflicts**: Use Flexible SSL if your hosting provider manages SSL, as this minimizes conflicts.
    - **Proxy Settings**: Once the setup stabilizes, you can re-enable proxy if desired, but verify that no new SSL conflicts arise.
    - **Patience with Propagation**: DNS changes can take 48 hours; patience is vital.

    Understanding this helps streamline future setups and adjustments, reducing headaches and enabling smoother operations with Cloudflare and Brizy. 

    1
  • Kamal Subedi

    I can confirm the steps above works as of Nov 2024. Thank you so much to Charkrid Th. for posting this. Following this, I get my site up and running in less than 15 minutes. 

    For now, I maintain the Flexible SSL for stability, not sure the added benefits of enabling Full SSL in Cloudflare though if Brizy has the SSL already?

    0

Please sign in to leave a comment.