Skip to content

PabloGarayOk/Resolucion-configuracion-donweb-cloudflare-pxsol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

DNS + SSL Configuration Resolution (DonWeb, Cloudflare & PXsol)

This repository documents the complete process of diagnosing, resolving, and stabilizing a production website affected by SSL certificate errors, email delivery issues, redirection problems, and conflicting configurations across multiple providers.

The infrastructure involved three different services:

  • DonWeb (Ferozo) – Hosting provider and original DNS server
  • Cloudflare – CDN, SSL termination and proxy
  • PXsol – External SaaS platform (domain target: secure.pxsol.com)

Project Overview

Role: Infrastructure / Web Operations

This repository documents a real-world infrastructure troubleshooting case involving DNS, SSL certificates, email delivery, and multi-provider configuration.

The project focused on diagnosing and resolving complex conflicts between:

  • A hosting provider (DonWeb / Ferozo)
  • A CDN and SSL provider (Cloudflare)
  • An external SaaS platform (PXsol)

The goal was to restore secure access, correct redirections, and reliable email delivery, while ensuring long-term stability and proper DNS propagation.

This repository serves as a technical case study, demonstrating problem analysis, decision-making, and implementation across multiple systems rather than application-level development.


Initial Problem

The domain abedulmardelaspampas.com.ar was experiencing the following issues:

  • Emails bouncing when sent to Gmail accounts
  • Browser warning: NET::ERR_CERT_COMMON_NAME_INVALID
  • Invalid certificate (*.ferozo.com) when accessing the site without www
  • Inconsistent HTTP / HTTPS redirections
  • Duplicate and conflicting DNS records
  • SSL certificate valid only for the www subdomain, not for the root domain

Diagnosis

  1. SPF, DKIM and DMARC records were incorrectly configured in Ferozo.
  2. Cloudflare was partially enabled and only issuing certificates for www.
  3. The root domain (@) was pointing directly to the Ferozo server without proxying (DNS Only).
  4. PXsol SaaS required only the www subdomain to be proxied (CNAME → secure.pxsol.com).
  5. The root domain could not obtain a valid SSL certificate from the remote server.
  6. A 301 redirect from the root domain to www was required.

Implemented Solution

Ferozo Configuration

  • Created SPF record
  • Created DKIM record
  • Created DMARC record

Cloudflare Configuration

  • Configured SPF, DKIM and DMARC records
  • A record (@) set to Proxied
  • CNAME record (www) set to Proxied, pointing to secure.pxsol.com
  • SSL mode set to Full
  • Redirect rules enabled:

Rule 1 — HTTPS → WWW
https://abedulmardelaspampas.com.ar/* → https://www.abedulmardelaspampas.com.ar/$1 (301)

Rule 2 — HTTP → HTTPS + WWW
http://abedulmardelaspampas.com.ar/* → https://www.abedulmardelaspampas.com.ar/$1 (301)


Validation

  • Correct access with and without www
  • Automatic redirection to the secure version
  • Website served correctly from PXsol behind Cloudflare proxy
  • Email delivery fully functional (SPF, DKIM, DMARC verified)
  • DNS propagation completed successfully

Final Result

The website is now fully functional across all scenarios:

  • Incoming and outgoing emails working correctly
  • HTTP traffic redirected to HTTPS
  • Root domain redirected to www
  • Valid HTTPS certificate provided by Cloudflare
  • No browser security warnings
  • PXsol hotel management platform operating correctly behind the proxy

Skills Applied

  • Ferozo configuration (SPF / DKIM / DMARC)
  • Advanced DNS administration
  • Cloudflare (SSL, Proxy, Rules, Redirects)
  • SSL troubleshooting and resolution
  • Multi-provider infrastructure analysis
  • Technical coordination with hosting support
  • Technical documentation and client communication

Lessons Learned

  • SSL issues often originate from DNS and proxy misalignment, not from the certificate itself.
  • Mixing proxied and non-proxied records can lead to inconsistent SSL behavior.
  • Root domains and 'www' subdomains may require different handling depending on SaaS limitations.
  • Proper 301 redirections are essential to avoid certificate mismatch errors.
  • Email delivery problems are frequently caused by missing or incorrect SPF, DKIM, and DMARC records.
  • Cloudflare SSL modes must match the capabilities of the origin server.
  • Documenting infrastructure changes is critical for future maintenance and support.
  • Multi-provider setups require a holistic view rather than isolated fixes.
  • Clear technical communication with hosting support accelerates resolution.

Diagrams

This repository includes flow and architecture diagrams illustrating the before and after states of the DNS and SSL configuration.

DNS Flow
Figure 1 — DNS flow

Before vs After
Figure 2 — Before vs after DNS & SSL architecture

Problem → Solution Flow
Figure 3 — Problem, diagnosis and solution process

301 Redirect Rules
Figure 4 — 301 redirects configured in Cloudflare

About

This repository documents the complete process of diagnosing, resolving, and stabilizing a website.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors