Skip to content

Commit

Permalink
Merge pull request magento#2573 from chirag-wagento/patch-9
Browse files Browse the repository at this point in the history
Update basics_docroot.md
  • Loading branch information
jeff-matthews authored Jul 23, 2018
2 parents a9aaa8d + 687809f commit 4b82997
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions guides/v2.1/install-gde/basics/basics_docroot.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,17 @@ The path to your web server's default docroot varies depending on the following:
- Web server software
- Hosting provider (if you use one)

<div class="bs-callout bs-callout-warning" markdown="1">
{:.bs-callout .bs-callout-warning}
As part of the Magento 2 installation process, you specify a subdirectory (usually `magento2`) under the docroot. The Magento-specific files are installed in this subdirectory, so knowing where to locate the default docroot is critical.
</div>

## Contact your hosting provider
If you use one, contact your hosting provider to locate the web server docroot. For example, <a href="http://support.hostgator.com/articles/cpanel/what-is-a-document-root-folder" target="\_blank">cPanel</a> typically uses `public_html` as its docroot, but you should contact your provider to confirm.
If you use one, contact your hosting provider to locate the web server docroot. For example, [cPanel](http://support.hostgator.com/articles/cpanel/what-is-a-document-root-folder){:target="\_blank"} typically uses `public_html` as its docroot, but you should contact your provider to confirm.

## Find the docroot yourself
This section assumes you've already set up a simple web server using [Apache virtual hosts](https://httpd.apache.org/docs/2.4/vhosts/){:target="\_blank"} or [nginx server blocks](https://www.nginx.com/resources/wiki/start/topics/examples/server_blocks/){:target="\_blank"}.

<div class="bs-callout bs-callout-info" id="info" markdown="1">
{:.bs-callout .bs-callout-info}
You can use _virtual hosts_ and _server blocks_ to run more than one web site on a single machine (e.g., `company1.example.com` and `company2.example.com`) or override the web server's default docroot without changing it.
</div>

To find the docroot on your server:

Expand Down

0 comments on commit 4b82997

Please sign in to comment.