# Create a .env file

This will be the master .env file for your project and is copied into each deployment.

It should be placed in `/www/example.org/master`

You can either create the .env within the SSH session using a tool like `nano` or use the editor built into the SiteGround site tools.

In the .env file, remember to set your file up for production, add your database and mail credentials, turn off debug mode although if you are having problems with deployment you may choose to leave debug in place for a while.  DO NOT FORGET.

<https://laravel.com/docs/9.x/deployment#debug-mode>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://laravelsharedhosting.novate.co.uk/siteground-shared-hosting/create-a-.env-file.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
