Hello!
Im using Bluehost to host my site, alongside this site I use other directories to host other sites I make, since the plan allows me to host as many websites I want. lately I wanted to make another kirby website and to host it too in this bluehost plan I have.
for some reason It gives me this error when I try to reach the website:
It’s the second time it happens to me. Static html sites works great but another php kirby app gives me this error.
this is the public.html tree:
my first kirby website that works
a static website
another static website
another kirby project that doesnt work
I’m not familiar with hosting technologies but it feels like two kirby apps cant live together under one host, does it make sense? or is it really about php version? (if so, how do I update the php version? and why does the first site work?)
BTW - I try to upload this second site as a staging site - to show clients their website before we upload to their paid hosting. so I was wondering what do you use for staging or WIP?
I don’t know about Bluehost, but with other shared hosting providers, you can usually set a PHP version on a per domain basis. So if you use different subdomains for each folder, you should be able to assign different PHP versions.
But since you are only using static sites next to your Kirby sites, you could assign the same PHP version for all sites, just make sure that you have a PHP version 7.4+
Now it has a new problem - I can see the website but only the html and css of the home page, other pages don’t exist (404 not found), images also don’t appear (the videos work, because of vimeo I guess) and the panel doesn’t work too.
Is it possible I don’t have a .htaccess file?
I turned off the hidden files view - and I can’t find the file in the search.
the file comes with the plainkit right?