Moved site to Hostgator. DNS records - HELP

I’m moving a site to Hostgator. Site has been on Cloudflare. Site is not showing. Changed DNS records to the new proper IP per Hostgator support.

What else do I need to do? Site shows on a temporary domain set up by Hostgator and also here, so it is there.

When I purged the cache on Cloudflare I lost the site. The 404 page I’m seeing is Hostgator’s 404.

Click on the :orange: in that DNS record to toggle it to :grey: and wait five minutes. Then make sure the site is up and running with HTTPS. If so, then toggle back to :orange: and make sure your SSL/TLS mode is Full (Strict).

So toggle off all of the Proxy status switches? Done.

Now I get a Cloudflare 526 error. “The SSL certificate presented by the server did not pass validation. This could indicate an expired SSL certificate or a certificate that does not include the requested domain name. Please contact your hosting provider to ensure that an up-to-date and valid SSL certificate issued by a Certificate Authority is configured for this domain name on the origin server.”

That was after setting the SSL to Full (Strict).

Toggled that back down to Full and get the 404 page: 404 Error

Set it to Flexible SSL and it loads!

First load was slow. Take a look please? Kick the tires?

Hi @gwkopy Full (Strict) is the most secure/best selection but needs to be set with end to end encryption in mind. Specifically, you’ll want a valid certificate on your server. The various modes & requirements are mentioned a lot on this site. If you navigate to SSL/TLS and origin server tab you can generate your own and use it in conjunction with Cloudflare and go back to Full (Strict).

Loaded quickly for me, but check Performance Tutorials - Google PageSpeed & for performance tuning suggestions.

Once I’ve generated the SSL certificate, do I need to copy it to cPanel? Can’t find where to do that.

I don’t use cpanel, but whatever method you use to place files on your webserver will work to place the certificate file on to the server. This doc has a good description of the overall process:

It’s set to Full (Strict) now so I must have done something right.

Thank you for your help!

1 Like

Nice. How did you place the file on your server?

Actually, I followed this:

Just filled in the first two windows, works great.

1 Like

Now trying to view an addon domain to, also on HostGator. Getting Cloudflare’s 526 error page. Tried all the steps outlined above. Now on Flexible SSL, no site visible.