I recently started using trellis as my local development environment. I have developed a wordpress website for a client, which will be hosted on a FastComet VPS server, that is already hosting multiple websites.
I have added an addon domain pointing to /public_html/new-website/ as document root, and edited the .env file in the folder. I am still getting internal server errors. Does anyone have any experience setting up an environment like this?
Im not entirely sure what you mean by this. Where in my setup should this be?
It’s unclear to me wether I should be doing this all through Trellis, or manual deployment via git, since I want this website to be uploaded in a subfolder of the public_html folder
You need to have the addon domain point to /public_html/new-website/web (where new-website is a Bedrock project), since Bedrock’s document root (aka web root) is the web directory. Here’s a full explanation of Bedrock’s folder structure:
You don’t need Trellis to deploy Bedrock, but it is nice, however, you’d need to modify Trellis to use it with your existing setup.