Cannot properly link my custom domain to my website

I started my new website and when we create a new website its domain is already set to [website name].000webhostapp.com .I added a custom domain , pointed the nameservers and also linked it to my website. But when i go to my custom domain i am redirected to [website name].000webhostapp.com . I tried changing the website address in wordpress admin panel where it says homepage address.After that it does not redirect and the website is now accessible through my custom domain but it displays a warning that the website is not secure and there is a red cut on the https. Does anybody know how to correct it ?

Use this

This topic was automatically closed after 5 days. New replies are no longer allowed.