Answers.Body: <p>There are a ton of possible reasons why the frontend may not be working properly. If I have to guess, I'd say the server is probably configured wrong, pointing at the <em>project root</em> instead of the <em>web root</em>. The project root is the folder with your <em>composer.json</em> and <em>composer.lock</em> files, the web root is the folder with the <code>.htaccess</code> and <code>index.php</code> files (usually, this is the <code>web/</code> folder).</p>
  <p>I recommend you set up a local development environment to get started and figure things out. This will allow you to debug more easily and find whatever is causing the 404 error without having to worry about what server settings might not be working properly.</p>
  <p>Check out the guide on <a href="https://craftcms.com/docs/getting-started-tutorial/environment/" rel="nofollow noreferrer">local development</a> to get started!</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-11-24T15:40:10.390Z
Answers.Text: Thanks, I have not got a local environment set up and getting this set up on my web host has been challenging enough I feel. This is an addon domain of my main hosting account if that helps?
Answers.UserDisplayName: tjcss
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-11-24T15:55:38.173Z
Answers.Text: @tjcss It's way more painful to get a clean installation working on some remote hosting account where you don't have control over all the server settings. Check out the [recommended development environments](https://craftcms.com/docs/getting-started-tutorial/environment/stack.html) here, there's a couple of tools there that don't take a lot of setup and are gonna be way easier to work with to develop your site.
Answers.UserDisplayName: MoritzLost
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-11-24T19:19:52.587Z
Answers.Text: Thanks @moritzLost. I have set up a local environment using Ddev
Answers.UserDisplayName: tjcss
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-11-24T15:22:17.160Z
Answers.LastActivityDate: 2022-11-24T15:22:17.160Z
Answers.UserDisplayName: MoritzLost
Body: <p>I have tried to install craft cms and I have been successful, in that I managed to go through the steps on cli and got a done message. The files are there, the database is populated. But when I go to my url.. Nothing.</p>
  <p>I am installing at (https)tjob.be/dev</p>
  
Tags: <installation>
Title: 404 on new installation using composer
ThreadText: # 404 on new installation using composer
  
  (Asked by: username_0 on 2022-11-24)
  
  I have tried to install craft cms and I have been successful, in that I managed to go through the steps on cli and got a done message. The files are there, the database is populated. But when I go to my url.. Nothing.
  
  I am installing at (https)tjob.be/dev
  
  **Tags:** installation
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2022-11-24. Score: 2 | Accepted answer
  
  There are a ton of possible reasons why the frontend may not be working properly. If I have to guess, I'd say the server is probably configured wrong, pointing at the *project root* instead of the *web root*. The project root is the folder with your *composer.json* and *composer.lock* files, the web root is the folder with the `.htaccess` and `index.php` files (usually, this is the `web/` folder).
  
  I recommend you set up a local development environment to get started and figure things out. This will allow you to debug more easily and find whatever is causing the 404 error without having to worry about what server settings might not be working properly.
  
  Check out the guide on [local development](https://craftcms.com/docs/getting-started-tutorial/environment/) to get started!
  
  > **Comments:**
  > **username_0**: Thanks, I have not got a local environment set up and getting this set up on my web host has been challenging enough I feel. This is an addon domain of my main hosting account if that helps?  
  > **username_1**: @username_0 It's way more painful to get a clean installation working on some remote hosting account where you don't have control over all the server settings. Check out the [recommended development environments](https://craftcms.com/docs/getting-started-tutorial/environment/stack.html) here, there's a couple of tools there that don't take a lot of setup and are gonna be way easier to work with to develop your site.  
  > **username_0**: Thanks @moritzLost. I have set up a local environment using Ddev  
  
  ---
  
  