Fixing Python UnicodeDecodeError in Logging Handlers - Fix Cloudflare DNS Propagation Not Happening for www-Fix Nginx Configuration Test Failed on Ubuntu

Result check
- Keep one change per test run so you know which step helped.
- Undo temporary changes after the issue is confirmed.