Change Document Root
If your using a framework such as Laravel, Drupal, CodeIgniter or even a CMS such as Wordpress. It is often a requirement that your websites framework be in a directory above your public directory.
In most cases, adding an .htaccess file to the root of your websites directory will be sufficient in directing the browser to where your files are. However, if the .htaccess route does not work, you will need a way to update your websites document root.
To update your document root for your website, you will want to make sure you are logged into your Bravenet account. Once logged into your Bravenet account, you will want to follow these steps:
- Click on the Web Hosting tab/link located within the top blue navigation bar.
- Click on the name of the website you would like to manage; or click on the Manage link located to the right of the websites name.
- Under the Files section, click Set Document Root
Once the document root is set for your domain, it is automatically updated on your live website.
Please Note: When updating your document root, please ensure that you move our error pages into the newly assigned folder if you would like to use our error pages.