Answers.Body: <p>Create a new web server to host your Craft project. Its document root should point to your public HTML folder. If you’re using Craft’s Composer starter project, then it is the web/ directory by default, but it can be renamed to anything you want as long as your web server is configured to point to it.</p>
  
  <p>If your web host already has a public HTML folder setup to for you that you cannot rename, then you can just copy the contents of Craft’s web folder to it and use your host’s default public HTML folder.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-15T17:37:58.620Z
Answers.Text: please explain it to me in detail...
Answers.UserDisplayName: Terry
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-11T11:08:49.950Z
Answers.LastActivityDate: 2018-04-11T11:08:49.950Z
Answers.UserDisplayName: Amit Senjaliya
Body: <p>I am a beginner. I just install it on a server and also on localhost. But facing the same problem.
  I set it <a href="http://www.example.com/" rel="nofollow noreferrer">http://www.example.com/</a> but I go to this URL it shows me the directory but when I go to <a href="http://www.example.com/web" rel="nofollow noreferrer">http://www.example.com/web</a> it goes to the default template.
  I want to access default template on <a href="http://www.example.com" rel="nofollow noreferrer">http://www.example.com</a></p>
  
Tags: <installation>
Title: How to set base URL on the installation of Craft CMS on server
ThreadText: # How to set base URL on the installation of Craft CMS on server
  
  (Asked by: username_0 on 2018-04-10)
  
  I am a beginner. I just install it on a server and also on localhost. But facing the same problem.
  I set it <http://www.example.com/> but I go to this URL it shows me the directory but when I go to <http://www.example.com/web> it goes to the default template.
  I want to access default template on <http://www.example.com>
  
  **Tags:** installation
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-04-11. Score: 1
  
  Create a new web server to host your Craft project. Its document root should point to your public HTML folder. If you’re using Craft’s Composer starter project, then it is the web/ directory by default, but it can be renamed to anything you want as long as your web server is configured to point to it.
  
  If your web host already has a public HTML folder setup to for you that you cannot rename, then you can just copy the contents of Craft’s web folder to it and use your host’s default public HTML folder.
  
  > **Comments:**
  > **username_0**: please explain it to me in detail...  
  
  ---
  
  