Newly installed WordPress site and yesterday I had an issue with browsers warning of insecure site because my domain reflected the https:// protocol from the 000webhostapp.com domain. I also had problems that I could not access www.
Today I tried many changes including changing my WordPress URL from HTTPS to HTTP. adding www to the domain. Then I couldn’t access without www. I used redirects in .htacess and on the cPanel to try to fix the problems, going to and from with different combinations.
After I while I was always getting redirected to the actual website of “www.domain.com” then I could still access using the https://temp-kora.000webhostapp.com URL but not my domain name. Now, even that produces only an Application Error message. Any other attempts with either protocol in any browser results in the www.domain.com site to appear. I had no issues when I had only a simple coming soon HTML index file on the server.
I can only assume that this redirect is done by some script on the server. please help.