I’m trying to add a ssl certificate using cloudflare after changing nameservers from freenom to cloudflare which was successful. now when i add cname records in cloudflare it gives me this error.
Invalid hostname: Use ‘@’ to represent the root domain.
i have followed all the steps mentioned in webhost tutorial.
It’s telling you the problem, you just need to make the two records like so:
www points to https://yoursite.000webhostapp.com
@ points to https://yoursite.000webhostapp.com
It looks like you’re putting something else instead of @ in the hostname box on the left side for one of the records. Just make one with @ and you’ll be fine.
When using Wordpress combined with Cloudflare, it’s better to switch to HTTPS from Cloudflare’s end, not from origin server.
I have changed the WP address from https://* to http://*. Please go to Cloudflare cPanel > Page rules > Create/Add rule > *exploretech.tk* --> Always use HTTPS
Now please clear your browser cache and try loading your site again.
I dont know how to add rule but i have enabled the option for always use https in cloudflare. Will it work now? Also how i should add 301 permanant redirect from old url.