Answers.Body: <p>This looks like a problem with your <code>DocumentRoot</code> config option.</p>
  
  <p>If you have access to your Apache VirtualHost configuration, you should append <code>/public</code> to your <code>DocumentRoot</code>.</p>
  
  <p>If you're configuring the host via some kind of control panel (i.e. via your web host), look for an option like "Web Root," and add the same <code>/public</code> path.</p>
  
  <p>So, if your current <code>DocumentRoot</code> was <code>/home/username/website.com</code>, you'd change it to <code>/home/username/website.com/public</code>.</p>
  
  <p>Many hosts will have a <code>DocumentRoot</code> like <code>/var/www/website.com</code>—same deal! Just add <code>/public</code> so it looks like <code>/var/www/website.com/public</code>.</p>
  
  <p>This is just about as good a start as we can get without knowing more about your setup.</p>
  
  <p>Edit: <em>The page you're seeing is what's called an "index," and it's dynamically generated by Apache for folders that don't contain an appropriate script or static file (typically, <code>index.html</code> or <code>index.php</code>)—you'll notice that the <code>public</code> folder of your Craft installation has this file—and that's where all the magic begins!</em></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-03-08T18:54:28.647Z
Answers.Text: Thank you for this, unfortunately this didn't work for me, made things a bit worse, see edited details above.
Answers.UserDisplayName: Michael Purvis
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-03-09T16:56:28.250Z
Answers.Text: At the risk of sounding defensive—the above _does_ seem to have fixed the original problem, which was a VirtualHost configuration problem. Now, you're dealing with an entirely unrelated MySQL problem, which is only come to light now that the front-end of your site is accessible. Note that you'll need to visit your site _without_ the `/public` folder in the URL, since that's now factored into the base URL of the host.
Answers.UserDisplayName: August Miller
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-03-10T16:09:14.740Z
Answers.Text: No worries, good sir! I am here to learn; and yes, I see now that you did provide the correct answer to solving my original post. My apologies for sounding ungrateful - sincerely. 
  
  Regarding the /pubic in the URL that is handle with: https://craftcms.com/support/remove-index.php , correct? Or is there a different article that I should look at?
  
  Thank you and my apologies once again.
Answers.UserDisplayName: Michael Purvis
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-03-10T19:31:56.810Z
Answers.Text: Thanks for pointing out there are two different errors happening here. I will move questions to a new thread and have made your answer the official answer for the original question.
Answers.UserDisplayName: Michael Purvis
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-03-08T01:50:55.277Z
Answers.LastActivityDate: 2017-03-08T01:50:55.277Z
Answers.UserDisplayName: August Miller
Body: <p>Finally after almost three weeks of trial and error, I have reached the promised land. Now that I am here, I notice that my site loads funny. By that I mean the following:</p>
  <p>When going to my sites IP address (test environment currently) I get a very generic looking page that states &quot;Index of /&quot; and below that is the craft and public directories.
  <a href="https://i.sstatic.net/XvXLf.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/XvXLf.png" alt="enter image description here" /></a></p>
  <p>I must add that the Dashboard loads fine: <a href="http://192.168.10.39/public/index.php/admin/dashboard" rel="nofollow noreferrer">http://192.168.10.39/public/index.php/admin/dashboard</a>
  Just when going to the main IP as shown in the picture.<br />
  Anyone else encounter this issue?</p>
  <p>Have craft installed on a LAMP server, and can provide details if needed.</p>
  <p>Thank you and I look forward to hearing back from you all soon. :-)</p>
  <p>Thoughts? Thank you for all assistance here!</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-03-08T21:28:35.617Z
Comments.Text: See https://craftcms.stackexchange.com/questions/12084/getting-this-sql-error-group-by-incompatible-with-sql-mode-only-full-group-by
Comments.UserDisplayName: Brad Bell
Tags: <apache>
Title: Site loads funny
ThreadText: # Site loads funny
  
  (Asked by: username_0 on 2017-03-08)
  
  Finally after almost three weeks of trial and error, I have reached the promised land. Now that I am here, I notice that my site loads funny. By that I mean the following:
  
  When going to my sites IP address (test environment currently) I get a very generic looking page that states "Index of /" and below that is the craft and public directories.
  [![enter image description here](https://i.sstatic.net/XvXLf.png)](https://i.sstatic.net/XvXLf.png)
  
  I must add that the Dashboard loads fine: <http://192.168.10.39/public/index.php/admin/dashboard>
  Just when going to the main IP as shown in the picture.  
  Anyone else encounter this issue?
  
  Have craft installed on a LAMP server, and can provide details if needed.
  
  Thank you and I look forward to hearing back from you all soon. :-)
  
  Thoughts? Thank you for all assistance here!
  
  **Tags:** apache
  
  > **Comments:**
  > **username_1**: See https://craftcms.stackexchange.com/questions/12084/getting-this-sql-error-group-by-incompatible-with-sql-mode-only-full-group-by  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2017-03-08. Score: 6 | Accepted answer
  
  This looks like a problem with your `DocumentRoot` config option.
  
  If you have access to your Apache VirtualHost configuration, you should append `/public` to your `DocumentRoot`.
  
  If you're configuring the host via some kind of control panel (i.e. via your web host), look for an option like "Web Root," and add the same `/public` path.
  
  So, if your current `DocumentRoot` was `/home/username/website.com`, you'd change it to `/home/username/website.com/public`.
  
  Many hosts will have a `DocumentRoot` like `/var/www/website.com`—same deal! Just add `/public` so it looks like `/var/www/website.com/public`.
  
  This is just about as good a start as we can get without knowing more about your setup.
  
  Edit: *The page you're seeing is what's called an "index," and it's dynamically generated by Apache for folders that don't contain an appropriate script or static file (typically, `index.html` or `index.php`)—you'll notice that the `public` folder of your Craft installation has this file—and that's where all the magic begins!*
  
  > **Comments:**
  > **username_0**: Thank you for this, unfortunately this didn't work for me, made things a bit worse, see edited details above.  
  > **username_2**: At the risk of sounding defensive—the above _does_ seem to have fixed the original problem, which was a VirtualHost configuration problem. Now, you're dealing with an entirely unrelated MySQL problem, which is only come to light now that the front-end of your site is accessible. Note that you'll need to visit your site _without_ the `/public` folder in the URL, since that's now factored into the base URL of the host.  
  > **username_0**: No worries, good sir! I am here to learn; and yes, I see now that you did provide the correct answer to solving my original post. My apologies for sounding ungrateful - sincerely.   Regarding the /pubic in the URL that is handle with: https://craftcms.com/support/remove-index.php , correct? Or is there a different article that I should look at?  Thank you and my apologies once again.  
  > **username_0**: Thanks for pointing out there are two different errors happening here. I will move questions to a new thread and have made your answer the official answer for the original question.  
  
  ---
  
  