title: Issues with website migration to Google Cloud Platform
body: <p>I have an issue migrating one website from my old shared hosting provider to Google Cloud Platform. I followed the same steps for 4 websites, and 3 of them work without issues (.com and .net domains), but with one I have issues (.cf domain). When I open this website in Chrome it doesn't load images, and when I open it in Firefox, it's not secured (SSL). I'm using Cloudflare CDN on all of them.</p>
  <p>When I go on dnschecker.org, I see Google's DNS and Cloudflare's too (depending on if I switched it on or off in Cloudflare's dashboard), so that's fine.</p>
  <p>I did install the SSL certificate, like for the other 3 websites too. This is the website, so you can check out how it loads:</p>
  <p><a href="http://ifatw.cf/" rel="nofollow noreferrer">ifatw.cf</a></p>
  <p>I used this command to install the certificate, using SSH console:</p>
  <pre><code>sudo /opt/bitnami/bncert-tool
  </code></pre>
  <p>I even tried changing this in the wp-config.php file:</p>
  <pre><code>define('WP_SITEURL', 'http://' . $_SERVER['HTTP_HOST'] . '/');
  define('WP_HOME', 'http://' . $_SERVER['HTTP_HOST'] . '/');
  </code></pre>
  <p>to this:</p>
  <pre><code>define('WP_HOME', 'https://www.ifatw.cf/');
  define('WP_SITEURL','https://www.ifatw.cf/');
  </code></pre>
  <p>but that only got me the ERR_TOO_MANY_REDIRECTS error, and I couldn't load my website.</p>
  <p>Any ides what's the issue here?</p>
  <p>EDIT: This is what I get from the #Curl -I:</p>
  <pre><code>~$ curl -I ifatw.cf
  HTTP/1.1 302 Found
  Date: Sat, 16 Jan 2021 18:54:24 GMT
  Content-Type: text/html; charset=iso-8859-1
  Connection: keep-alive
  Set-Cookie: __cfduid=db11907f271122e6d9b63500dc3823f511610823264; expires=Mon, 15-Feb-21 18:54:24 GMT; path=/; doma
  in=.ifatw.cf; HttpOnly; SameSite=Lax
  X-Frame-Options: SAMEORIGIN
  Location: https://ifatw.cf/
  CF-Cache-Status: BYPASS
  cf-request-id: 07ae25815d000030cec2834000000001
  Report-To: {&quot;endpoints&quot;:[{&quot;url&quot;:&quot;https:\/\/a.nel.cloudflare.com\/report?s=6L9ueuFJlc%2B4h4%2BHbwAJsHWLx4GhA52swISDg
  IUYNjVH3O6Wd2yrRNCzsMatDQLF86HjdNYxLrOWX1JEMKuLq%2BhDKiDNcHhOqQ%3D%3D&quot;}],&quot;group&quot;:&quot;cf-nel&quot;,&quot;max_age&quot;:604800}
  NEL: {&quot;report_to&quot;:&quot;cf-nel&quot;,&quot;max_age&quot;:604800}
  Server: cloudflare
  CF-RAY: 612a0b7bcd9f30ce-ORD
  </code></pre>