Answers.Body: <p>You need to configure your webserver/virtualhost to point to the /web directory.</p>
  
  <p>For apache you have <code>DocumentRoot: your_disk_path/web</code></p>
  
  <p>For nginx you have <code>root: your_disk_path/web</code></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-06-04T15:30:50.530Z
Answers.LastActivityDate: 2018-06-04T15:30:50.530Z
Answers.UserDisplayName: dustfeather
Body: <p>I'm new to Craft 3 and I need help getting the web root to point to /web.</p>
  
  <p>I can't figure it out. If I use the url "mysite.com/web" everything works fine.</p>
  
  <p>Any help would be gratefully received.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-06-04T09:54:24.260Z
Comments.Text: This is more about your web server than about Craft itself. In order to help we need to know what server you use. Can you set up a vHost or do you have access to the configuration?
Comments.UserDisplayName: Robin Schambach
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-06-04T20:23:08.390Z
Comments.Text: I'm voting to close this question as off-topic because this is a web server configuration question, not a Craft question.
Comments.UserDisplayName: Simon Kuran
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-06-06T16:27:08.407Z
Comments.Text: Voting to leave open because it's a Craft-relevant answer, and could be helpful to other Craft users. It has also (now) drawn a correct answer.
Comments.UserDisplayName: Lindsey D
Tags: <craft3><config><install>
Title: help setting up web root to point to /web
ThreadText: # help setting up web root to point to /web
  
  (Asked by: username_0 on 2018-06-04)
  
  I'm new to Craft 3 and I need help getting the web root to point to /web.
  
  I can't figure it out. If I use the url "mysite.com/web" everything works fine.
  
  Any help would be gratefully received.
  
  **Tags:** craft3, config, install
  
  > **Comments:**
  > **username_1**: This is more about your web server than about Craft itself. In order to help we need to know what server you use. Can you set up a vHost or do you have access to the configuration?  
  > **username_2**: I'm voting to close this question as off-topic because this is a web server configuration question, not a Craft question.  
  > **username_3**: Voting to leave open because it's a Craft-relevant answer, and could be helpful to other Craft users. It has also (now) drawn a correct answer.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_4 on 2018-06-04. Score: 4
  
  You need to configure your webserver/virtualhost to point to the /web directory.
  
  For apache you have `DocumentRoot: your_disk_path/web`
  
  For nginx you have `root: your_disk_path/web`
  
  
  ---
  
  