I’ve built my website on my local PC and I’m ready to go live and move it to the remote server.
I’ve bought a shared hosting package (so I can’t run scripts etc, but I can copy the files over and export and import the database using phpmyadmin).
I couldn’t for the life of me find a deployment guide for drupal 9, so to get things going, I tried something similar to what I’ve done for drupal 7 and have this structure on the remote server…
/public_html /config /synccomposer /vendor /web
So I can access the site at: http://mysite.com/web
But how do I set things up so that I can access the site at just http://mysite.com
? I’ve tried moving the files in the web directory into public_html
, and moving the other directories up one level, but that didnt work. What is the best way to do this?