Images don't show up after pointing a GoDaddy domain to Netlify

Hi,
My client has a GoDaddy domain “imoveisdacaixa.com”. The original static site is live on Netlify https://landpagepaulo.netlify.app

Yesterday I’ve configured the DNS and nameservers correctly at Netlify and GoDaddy. Occurs that the site is rendering ok when loading the site on main domain https://imoveisdacaixa.com, except for the images that don’t show up. Images are showing up nice on https://landpagepaulo.netlify.app.

I need to know what’s going on and how to correct this.

Thanks
Marcos

If you check the Console on the .com website, you’ll see that it fails to get resources from the .netlify.app domain due to CORS issue.

I think the easiest way to solve this will be to change the hard-coded URL from https://landpagepaulo.netlify.app/ to https://imoveisdacaixa.com/ for each resources being called (e.g. images, JS or CSS).

Alternatively, you can change the link to use relative URL instead.

1 Like

Yes! You’re right @hartanto. The problem was solved by changing the resources links to the main domain imoveisdacaixa.com. All working now!

Thank you very much

1 Like