Answers.Body: <p>Without getting too much into it, i feel you need to look at a symbolic link for public_html to the web folder (if you have linux server):</p>
  
  <p><a href="https://www.shellhacks.com/symlink-create-symbolic-link-linux/" rel="nofollow noreferrer">https://www.shellhacks.com/symlink-create-symbolic-link-linux/</a></p>
  
  <p>Or change .htaccess file:</p>
  
  <p><a href="https://www.expression-web-tutorials.com/bluehost-main-domain-sub-folder.html" rel="nofollow noreferrer">https://www.expression-web-tutorials.com/bluehost-main-domain-sub-folder.html</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-08-12T08:03:02.080Z
Answers.LastActivityDate: 2019-08-12T08:03:02.080Z
Answers.UserDisplayName: Dean Sanderson
Body: <p>I'm having issues uploading my craft3 site to Bluehost.</p>
  
  <p>I've uploaded all the files, ran composer install and it does actually work. However when I go to my domain it shows the raw files/folders and I have to go in to my 'public_html' folder to access the site.</p>
  
  <p>I must note I changed the 'web' folder to 'public_html'.</p>
  
  <p>Because the index.php file is inside the public_html folder my server can't find an index file and therefore shows the raw files.</p>
  
  <p>That's my understanding.</p>
  
  <p>What's the best approach for this?</p>
  
  <p>Thanks</p>
  
Tags: <craft3><server>
Title: Craft 3 Upload To Bluehost - Index.php outside root issue
ThreadText: # Craft 3 Upload To Bluehost - Index.php outside root issue
  
  (Asked by: username_0 on 2019-08-12)
  
  I'm having issues uploading my craft3 site to Bluehost.
  
  I've uploaded all the files, ran composer install and it does actually work. However when I go to my domain it shows the raw files/folders and I have to go in to my 'public\_html' folder to access the site.
  
  I must note I changed the 'web' folder to 'public\_html'.
  
  Because the index.php file is inside the public\_html folder my server can't find an index file and therefore shows the raw files.
  
  That's my understanding.
  
  What's the best approach for this?
  
  Thanks
  
  **Tags:** craft3, server
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2019-08-12. Score: 1
  
  Without getting too much into it, i feel you need to look at a symbolic link for public\_html to the web folder (if you have linux server):
  
  <https://www.shellhacks.com/symlink-create-symbolic-link-linux/>
  
  Or change .htaccess file:
  
  <https://www.expression-web-tutorials.com/bluehost-main-domain-sub-folder.html>
  
  
  ---
  
  