mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-06 06:46:26 +01:00
27 lines
573 B
Plaintext
27 lines
573 B
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * serverless/networking/serverless-ossm-custom-domains.adoc
|
|
|
|
[id="serverless-access-custom-domain_{context}"]
|
|
= Accessing a service using your custom domain
|
|
|
|
.Procedure
|
|
|
|
. Access the custom domain by using the `Host` header in a `curl` request. For example:
|
|
+
|
|
|
|
[source,terminal]
|
|
----
|
|
$ curl -H "Host: custom-ksvc-domain.example.com" http://<ip_address>
|
|
----
|
|
|
|
+
|
|
where `<ip_address>` is the IP address that the {product-title} ingress router is exposed to.
|
|
+
|
|
|
|
.Example output
|
|
[source,terminal]
|
|
----
|
|
Hello OpenShift!
|
|
----
|