Answers.Body: <p>This is not so much a Craft question as a web server question.</p>
  
  <p>The directory structure of Craft is intended for the web server to have the public (or web in Craft 3) directory configured as the document root.</p>
  
  <p>This is a configuration setting you’ll find in your Apache, Nginx or other web server documentation.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-01-20T16:46:55.637Z
Answers.Text: Thank you Jeremy, I just had to move my files. Thanks for your help.
Answers.UserDisplayName: Mike 
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-01-18T13:49:14.383Z
Answers.LastActivityDate: 2018-01-18T13:49:14.383Z
Answers.UserDisplayName: Jeremy Gimbel
Body: <p>I'm creating a site that works now at www.mysite.com/public/</p>
  
  <p>I would love to get to drop the /public off the url so it is:</p>
  
  <p>www.mysite.com</p>
  
  <p>Does anyone know how to do this?</p>
  
  <p>Thank you!</p>
  
Tags: <server><nginx><apache>
Title: Making a base url without /public
ThreadText: # Making a base url without /public
  
  (Asked by: username_0 on 2018-01-18)
  
  I'm creating a site that works now at www.mysite.com/public/
  
  I would love to get to drop the /public off the url so it is:
  
  www.mysite.com
  
  Does anyone know how to do this?
  
  Thank you!
  
  **Tags:** server, nginx, apache
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-01-18. Score: 1
  
  This is not so much a Craft question as a web server question.
  
  The directory structure of Craft is intended for the web server to have the public (or web in Craft 3) directory configured as the document root.
  
  This is a configuration setting you’ll find in your Apache, Nginx or other web server documentation.
  
  > **Comments:**
  > **username_0**: Thank you username_1, I just had to move my files. Thanks for your help.  
  
  ---
  
  