doc/user/namespace/_index.md
Namespaces organize projects in GitLab. Because each namespace is separate, you can use the same project name in multiple namespaces.
When you choose a name for your namespace, keep in mind:
[!note] Namespaces with a period (
.) cause issues with SSL certificate validation and the source path when publishing Terraform modules.
GitLab has two types of namespaces:
User: Your personal namespace is based on your username. In a personal namespace:
Group: A group or subgroup namespace is based on the group or subgroup name. In group and subgroup namespaces:
To determine whether you're in a group or personal namespace, you can view the URL. For example:
| Namespace for | URL | Namespace |
|---|---|---|
A user named alex. | https://gitlab.example.com/alex | alex |
A group named alex-team. | https://gitlab.example.com/alex-team | alex-team |
A group named alex-team with a subgroup named marketing. | https://gitlab.example.com/alex-team/marketing | alex-team/marketing |
The namespace ID is the group ID or project ID. Use the group ID to interact with groups and the project ID to interact with projects.
You can find the group and project ID in the UI: