Tanzu Platform 10.0

Enable HTTP traffic to reach your app

Last Updated March 03, 2025

This topic tells you how to open your app to HTTP traffic. To enable HTTP traffic to reach an application in a Kubernetes Space, you must create a domain binding.

Before you begin

Before you can expose your app to HTTP traffic, you must:

Create a domain binding

To enable HTTP traffic to reach an application, create a domain binding using Tanzu Platform:

  1. Navigate to Spaces > Overview.
  2. Click the Space that you deployed your app to.
  3. Click the Ingress tab.

    You will see the HTTP route you created for your app and the option to create a Domain Binding.

  4. Click Create Domain Binding.
  5. When prompted, enter a name for the domain binding and provide the domain that you created as the domain you want to bind to.
  6. (Optional) Enter a subdomain and the port you want to bind to.
  7. Click Create and verify that the domain binding was successfully created.
  8. Ensure that the entry point for the domain binding and the entry point for the HTTP route for your app are the same, for example, main.
  9. Load your app by navigating to the URL listed in your domain binding and HTTP route, for example, https://my-app.dev.corp.com/.