Why are cookies not being sent cross-subdomain?
Ensure cookies are set with secure: true, sameSite: 'none' (requires secure), domain: '.yourdomain.com' (dot prefix for all subdomains), and httpOnly: true. The frontend must use withCredentials: true in Axios. All of these are required for cross-subdomain cookie sharing.
Verify This Answer
Cross-check this information using these trusted sources:
More FAQs in Domain Verification and Troubleshooting Fixing DNS and SSL Issues
Check DNS with dig yourdomain.com A +short (should return your IP), check HTTPS with curl -I https://yourdomain.com (should return 200), check SSL with openssl s_client, check global propagation with dnschecker.org, and test the API with curl https://api.yourdomain.com/api/health.
Check if nameservers are updated at your registrar (dig yourdomain.com NS), verify the A record exists with the correct IP, flush local DNS cache, and wait for propagation (up to 24 hours). Use dnschecker.org to check global propagation.
Check certificate validity with sudo certbot certificates. Renew if expired with sudo certbot renew. Ensure Nginx is configured for SSL (sudo nginx -t). The domain must point to your server before running certbot. If using Cloudflare, use DNS-01 challenge or temporarily disable proxy.
Still have questions?
Browse all our FAQs or reach out to our support team
