As I deployed my React app, I ran into an issue regarding head access denied, so I just added the DANGEROUSLY_DISABLE_HOST_CHECK=true env variable. But when I added my custom domain (which don’t has a SSL certificate) it became a blank page when accessed through the domain, and works fine with the DigitalOcean default url. I think the problem is in the SSL certificate, so I’m looking for help on disabling it…
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello,
Do you see any errors in your web console? Usually, this could happen when your static resources are being loaded via HTTPS but you’ve accessed your website via HTTP, this results in mixed content and the browser would not load the resources.
Two possible solutions:
Enable an SSL certificate so that the site loads fine via HTTPS. You could do that by pointing your Nameservers to the Cloudflare nameservers and using their free certificate.
Change your app so that it loads all resources via HTTP rather than HTTPS.
Hope that this helps.
Best,
Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.