Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Randy_Johnson's avatar

Deploying to 000webhost

I am trying to deploy to 000webhost, I have been told to zip the file and then unzip it in the root directory and from there copy all files from public to public_html. Now I keep getting an SSL error.

You can check it here

https://www.teachingdocs.000webhostapp.com/

0 likes
4 replies
jlrdw's avatar

Contact your hosting company see if they could enable it.

If you using free hosting you going to be very limited.

jsonkenyon's avatar

Remove the www from your url, this is a subdomain of your subdomain (teachingdocs) which is also considered a subdomain of the domain 000webhostapp.com.

The wildcard SSL only supports one subdomain on the 000webhostingapp.com.

https://teachingdocs.000webhostapp.com/ Is confirmed and working with the valid SSL. hope this helps.

Randy_Johnson's avatar

Hey thanks guys, I got through it by accepting a security risk and advanced to my main page which is giving me Whoops, looks like something went wrong. If there is any heads up on what this could be. I have no more information to give at this point.

Also this is as far into the adventure I have been so is there a way I can find out what is wrong, maybe putting my settings back to dev?

Snapey's avatar

By the way, its possible to just grab your zip file.

Look in Laravel log files for errors. I guess whoops is because you have not set your database credentials.

Please or to participate in this conversation.