DirectAdmin Manual

Helping you get the most out of DirectAdmin and your web!

Git repositories and deployment

On newer servers open Advanced Features → Git. Create Repository prepares a repository managed by the hosting account.

Older CloudLinux servers have no separate Git item. Git can be used through SSH or Web Terminal only when command access is enabled for the main account.

Safe deployment

  1. Back up the current website and database.
  2. Do not expose the .git directory to the web.
  3. Never commit passwords, API keys or a production .env file.
  4. Check document root, permissions and dependencies.
  5. Enable automated deployment only after a successful manual test.

For a private remote repository, use a dedicated deploy key with minimum permissions.

Back to chapter overviewContact Euroserver support