Idk why my css/fonts crash periodically.. it shows ip address, not domain.

[ad_1]

I’m currently having an issue with intermittent failures to load resources on my server. I am using the bitnami stack with a lightsail instance, and my site loads fine with https without warnings.
However, when I try to load static resources like fonts or images to display the screen, I get an “ERR\_CERT\_COMMON\_NAME\_INVALID” issue. Interestingly, this issue occurs intermittently.

The domain was purchased by searching in the “Domains” tab of Amazon Lightsail. I am using an Ipv4 static address and additionally have a public ipv6 connected.

Looking at the failing issue in Chrome’s developer tools, it’s not sending requests from the domain, it’s sending requests to my public ipv4 address, which seems to be causing the problem.

For example, I see the following error message in the console.

GET https://<my-ipv4-address>/wp-content/something.jpg net::ERR\_CERT\_COMMON\_NAME\_INVALID

i set my site url and wordpress url follow my domain address.
(I bought gdsanadevlog.com, and url config in wordpress is www.gdsanadevlog.com)

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer