DirectAdmin includes Git integration so you can clone repositories and deploy updates without manual FTP uploads.
Set up a repository
- Go to Advanced Features → Git.
- Select the domain and target directory.
- Enter the repository URL (HTTPS or SSH).
- Provide credentials or deploy keys if the repository is private.
- Clone the repository.
Deploy updates
Use the pull or deploy action to fetch the latest commits. Some setups support webhooks for automatic deployment on push. Ensure your document root points to the correct subdirectory (for example public in Laravel apps).