Latest | Instance administration | Server base URL
Configuring the SonarQube Server base URL
You must configure your SonarQube Server base URL in SonarQube Server, otherwise, integration and authentication features will not work correctly, the URLs generated in reports and emails will be wrong, etc.
- The SonarQube Server base URL needs to be a public URL primarily for proper integration and authentication with various DevOps platforms and other tools. A public URL ensures that SonarQube Server is accessible from these external systems, allowing features like integration, user authentication delegation, and proper reporting to function correctly.
- If you want to delegate the SonarQube Server user authentication to an OAUTH provider (GitHub, Bitbucket, GitLab, SAML), you should use HTTPS for security reasons. This means that the SonarQube Server instance should be secured behind a proxy.
To configure the server base URL in SonarQube Server:
- Go to Administration > Configuration > General Settings > General > General.
- In Server base URL, set your SonarQube Server instance's URL.
Was this page helpful?