# How do I avoid exposing customer domains in public project repositories?

Canonical: https://www.namesilo.com/questions/privacy-and-security/how-do-i-avoid-exposing-customer-domains-in-public-project-repositories

Published: 2026-11-18

Last updated: 2026-11-20

Topic: Privacy & security

Review repository files and history before publishing customer domain details or credentials. GitHub’s sensitive-data removal guide says rewriting repository history does not remove sensitive data from other users’ clones or forks. It recommends revoking or rotating an exposed secret first, rather than assuming deletion of the current line resolves the exposure.

Use a minimal public example

Replace confidential customer names in examples, screenshots and logs with appropriate example names before release. Keep a private incident record if publication already occurred and follow the repository host’s removal procedure. For registrar access material, confirm the exact service-specific replacement route and review any separate automation credential or delegated access involved.

Your next steps

Review files, screenshots and history

Replace confidential example data

Revoke or rotate exposed secrets first

Follow the host’s sensitive-data removal process

Use a minimal public example

Replace confidential customer names in examples, screenshots and logs with appropriate example names before release. Keep a private incident record if publication already occurred and follow the repository host’s removal procedure. For registrar access material, confirm the exact service-specific replacement route and review any separate automation credential or delegated access involved.

Verified detail: GitHub sensitive-data removal, clones/forks and rotate-first guidance.

Your next step: Follow the host’s sensitive-data removal process.

## Sources

- [Official supporting source](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/removing-sensitive-data-from-a-repository)
