Find the Best Cosmetic Hospitals

Explore trusted cosmetic hospitals and make a confident choice for your transformation.

โ€œInvest in yourself โ€” your confidence is always worth it.โ€

Explore Cosmetic Hospitals

Start your journey today โ€” compare options in one place.

Openshift: How to configure Azure openshift ARO with Custom Domain

Step-by-Step Guide: Configuring Azure Red Hat OpenShift (ARO) with a Custom Domain

Setting up a custom domain for your ARO cluster involves both Azure and DNS provider configurations. Follow these steps for a successful setup.

1. Prepare Your Custom Domain

  • Choose the domain you want to use (e.g., rajeshkumar.xyz).
  • Ensure you have access to the DNS management portal for your domain.

2. Deploy or Identify Your ARO Cluster

  • If you havenโ€™t already, deploy your ARO cluster via the Azure Portal, CLI, or ARM templates.
  • Note your clusterโ€™s name and resource group.

3. Retrieve Required ARO IP Addresses

You need two IP addresses:

  • API Server IP (for api.<yourdomain>)
  • Ingress IP (for *.apps.<yourdomain>)

Command Line Method:

textaz aro show --name <cluster_name> --resource-group <resource_group> --query "apiserverProfile.ip" -o tsv
az aro show --name <cluster_name> --resource-group <resource_group> --query "ingressProfiles[0].ip" -o tsv

Replace <cluster_name> and <resource_group> with your actual values.

Alternatively, you can get these IPs from the Azure Portal under your ARO clusterโ€™s overview or networking section.

4. Configure DNS Records

In your DNS providerโ€™s portal, create the following A records:

DNS RecordPoints ToPurpose
api.<yourdomain>API Server IPOpenShift API endpoint
*.apps.<yourdomain>Ingress IPConsole & app routes

Example:

  • api.rajeshkumar.xyz โ†’ 4.240.123.104
  • *.apps.rajeshkumar.xyz โ†’ 74.225.159.59

5. (Optional) Upload Custom SSL Certificates

  • By default, OpenShift uses self-signed certificates for custom domains.
  • For production, generate or buy valid SSL certificates for both the API and ingress endpoints.
  • Upload these certificates via the OpenShift console or CLI.

6. Test Domain Resolution

  • Use nslookup or dig to confirm your DNS records resolve to the correct IPs.
  • Example: textnslookup console-openshift-console.apps.rajeshkumar.xyz nslookup api.rajeshkumar.xyz

7. Access the OpenShift Console

  • Visit https://console-openshift-console.apps.<yourdomain> in your browser.
  • If you see certificate warnings, check your SSL setup.

8. Troubleshooting

  • DNS not resolving: Double-check your A records and allow time for DNS propagation.
  • SSL errors: Ensure certificates are valid and correctly uploaded.
  • Console inaccessible: Confirm that firewall/network rules allow inbound access to the cluster IPs.

Summary Table

StepAction Required
Prepare DomainOwn/manage custom domain
Get ARO IPsUse Azure CLI/Portal
Set DNS RecordsCreate A records for API & Ingress
Upload Certificates(Optional) For production security
Test AccessUse browser & DNS tools

By following these steps, your Azure Red Hat OpenShift cluster will be accessible via your custom domain, providing a professional and branded experience for users and developers.

Absolutely! Hereโ€™s a step-by-step, Azure-native guide for configuring Azure Red Hat OpenShift (ARO) with a custom domain, including DNS and what you must know about network security restrictions.


Step-by-Step: Configure Azure OpenShift (ARO) with a Custom Domain


Step 1: Plan Your Custom Domain and Subdomains

  • Decide your root domain (e.g., rajeshkumar.xyz).
  • Plan the following records (examples):
    • api.rajeshkumar.xyz โ†’ OpenShift API endpoint
    • *.apps.rajeshkumar.xyz โ†’ All OpenShift app routes (console, etc.)
    • Optionally, api-int.rajeshkumar.xyz for internal API.

Step 2: Deploy ARO Cluster with Custom Domain

Option A: Azure Portal

  1. Go to Create ARO cluster.
  2. Under Domain, enter your custom domain (e.g., rajeshkumar.xyz).
  3. Continue with normal ARO setup (location, node count, vNet, etc.).
  4. Deploy the cluster.

Option B: Azure CLI

If using ARM/Bicep/Terraform, set the domain property to your custom domain.


Step 3: Wait for ARO Deployment

  • ARO will deploy, but will NOT manage your DNSโ€”it assumes you will configure DNS records.
  • After deployment, obtain the public IPs for API and Apps endpoints.

Step 4: Find Your Public IP Addresses

  • Go to the ARO managed resource group (name starts with aro-infra- or mc_).
  • In Azure Portal or CLI: az network public-ip list -g <MANAGED-RG> -o table
  • You will see two public IPs, usually named:
    • *-default-v4 (for API)
    • *-pip-v4 (for Apps/Router)

Step 5: Create DNS Records at Your Registrar

Go to your domain registrarโ€™s DNS management panel and add:

SubdomainTypeValue (Public IP)Purpose
api.A[API Public IP]API server
api-int. (optional)A[API Public IP]Internal API
*.apps.A[Apps Public IP]All apps routes

Example:

SubdomainTypeValue
api.rajeshkumar.xyzA74.225.159.59
api-int.rajeshkumar.xyzA74.225.159.59
*.apps.rajeshkumar.xyzA4.240.123.104

Step 6: Wait for DNS Propagation


Step 7: NSG/Firewall (Critical for Custom Domains!)

Azure ARO managed RGs have locked-down NSGs.

  • If port 443 to the Apps/Router public IP is not allowed, you cannot change this yourself.
  • If you cannot access the console or app routes after DNS, open an Azure support ticket and request: “Allow inbound TCP 443 from Internet to the APPS/Router public IP (<your-apps-ip>) in NSG <your-nsg> of managed RG <your-managed-rg> for my custom domain.”

Step 8: Validate Access

  • Open your browser to
    https://console-openshift-console.apps.<yourdomain>/
  • You may see a certificate warning for up to an hour until OpenShift issues a valid TLS cert for your custom domain.

Step 9: (Optional) Configure Email, Branding, etc.

  • Optionally update cluster branding and notification settings in the OpenShift console.

Azure Official References


Quick Recap Checklist

  1. Deploy ARO with custom domain set.
  2. Note down API and Apps public IPs from managed RG.
  3. Create required A records at your DNS provider.
  4. Wait for DNS propagation.
  5. (If needed) Request Azure to open 443 to your Apps/Router IP in managed RG NSG.
  6. Access your console and apps via custom domain URLs.

Thatโ€™s it!
If you need an exact support ticket template, sample DNS config, or troubleshooting guide, just ask!

Absolutely! Hereโ€™s a compact cheat sheet of all key Azure CLI commands youโ€™ll use for working with Azure resource groups and for troubleshooting ARO custom domain public IPs, NSGs, and load balancers.


Essential Azure CLI Commands for ARO/Resource Groups


1. List All Resource Groups

az group list -o table
Code language: PHP (php)

2. Show Details of a Resource Group

az group show -n <RESOURCE-GROUP-NAME>
Code language: HTML, XML (xml)

3. Find ARO Managed Resource Group

(If you only know your ARO cluster’s resource group and name):

az aro show -g <YOUR-CLUSTER-RG> -n <YOUR-CLUSTER-NAME> --query "clusterProfile.resourceGroupId"
Code language: HTML, XML (xml)

(Extract the managed RG name from the result.)


4. List All Public IPs in a Resource Group

az network public-ip list -g <MANAGED-RG> -o table
Code language: PHP (php)

5. List All NSGs in a Resource Group

az network nsg list -g <MANAGED-RG> -o table
Code language: HTML, XML (xml)

6. List All Inbound Rules for an NSG

az network nsg rule list -g <MANAGED-RG> --nsg-name <NSG-NAME> -o table
Code language: HTML, XML (xml)

7. List All Load Balancers in a Resource Group

az network lb list -g <MANAGED-RG> -o table
Code language: HTML, XML (xml)

8. Show LB Frontend IP Configuration (see what public IP is attached)

az network lb frontend-ip list -g <MANAGED-RG> --lb-name <LB-NAME> -o table
Code language: HTML, XML (xml)

9. List Subnets in a VNET

az network vnet subnet list -g <MANAGED-RG> --vnet-name <VNET-NAME> -o table
Code language: HTML, XML (xml)

10. List All Public IPs in Your Subscription (across all RGs)

az network public-ip list --query "[].{ResourceGroup:resourceGroup, Name:name, IP:ipAddress}" -o table
Code language: CSS (css)

BONUS: DNS & Connectivity Checks (From any shell)

  • Check DNS Resolution nslookup console-openshift-console.apps.<yourdomain>
  • Test OpenShift Console Endpoint curl -vk https://console-openshift-console.apps.<yourdomain>/
  • Test OpenShift API Endpoint curl -vk https://api.<yourdomain>:6443/

Typical Workflow Example

  1. Find managed RG for your cluster:
    az aro show -g DevOpsSchool -n devopsschool --query "clusterProfile.resourceGroupId"
  2. List public IPs in managed RG:
    az network public-ip list -g aro-infra-mcyj58v7-devopsschool -o table
  3. List NSGs:
    az network nsg list -g aro-infra-mcyj58v7-devopsschool -o table
  4. Check NSG rules:
    az network nsg rule list -g aro-infra-mcyj58v7-devopsschool --nsg-name devopsschool-8v55v-nsg -o table
  5. Find which LB is using which public IP:
    az network lb frontend-ip list -g aro-infra-mcyj58v7-devopsschool --lb-name <LB-NAME> -o table

If you want an even more detailed script or one-liner to run all at once, let me know!

Thatโ€™s exactly the problem with ARO and AKS managed resource groups:
Microsoft locks the managed resource group with โ€œDeny Assignmentsโ€, so only Microsoft support can make NSG changes in that resource group.


You Cannot:

  • Add, remove, or edit NSG rules in the managed RG (aro-infra-mcyj58v7-devopsschool)
  • Delete or unlock the deny assignment (it is by Azure policy for managed services)
  • Change inbound traffic rules for your public IPs in the managed RG

Why?


What Are Your Options?

A. Contact Microsoft Support (Recommended and only supported way)

  • This is the only way to add or change NSG rules in the managed resource group for ARO clusters.

B. (Re)Create the Cluster with a Default Domain (temporary workaround)

  • If you use the default domain (<cluster>.<region>.aroapp.io), Azure sets up all DNS and NSG rules for you.
  • You lose your custom domain, but your cluster will be accessible without support intervention.

C. Wait for Microsoftโ€™s Newer Capabilities (not available as of July 2026)

  • Azure is working on making managed resource groups more flexible, but today, only support can do this.

Summary Table

TaskPossible by YouPossible by Microsoft Support
Edit NSG in managed RGโŒ Noโœ… Yes
Unlock RGโŒ NoโŒ No
Use default domainโœ… YesN/A

What to Do Now

  • Open a support ticket:
    Only Microsoft support can change NSG rules for you, and itโ€™s a known, routine request.

Support Ticket Template (Copy & Paste):

Subject:
ARO Custom Domain: Please open port 443 on APPS Public IP in Managed RG

Body:
Hello,
I have deployed an Azure Red Hat OpenShift (ARO) cluster with a custom domain.
The console and apps endpoints are not accessible because the Network Security Group in the managed resource group does not allow inbound TCP 443 to the APPS/Router public IP.
Please add an allow rule for TCP 443 from Internet (0.0.0.0/0) to 4.240.123.104 in NSG devopsschool-8v55v-nsg (managed RG aro-infra-mcyj58v7-devopsschool).
Thank you.


This is the only way to solve this for any production ARO with a custom domain.
Let me know if you want help opening the ticket or have any questions!

Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services โ€” all in one place.

Explore Hospitals
Iโ€™m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I have worked at <a href="https://www.cotocus.com/">Cotocus</a>. I share tech blog at <a href="https://www.devopsschool.com/">DevOps School</a>, travel stories at <a href="https://www.holidaylandmark.com/">Holiday Landmark</a>, stock market tips at <a href="https://www.stocksmantra.in/">Stocks Mantra</a>, health and fitness guidance at <a href="https://www.mymedicplus.com/">My Medic Plus</a>, product reviews at <a href="https://www.truereviewnow.com/">TrueReviewNow</a> , and SEO strategies at <a href="https://www.wizbrand.com/">Wizbrand.</a> Do you want to learn <a href="https://www.quantumuting.com/">Quantum Computing</a>? <strong>Please find my social handles as below;</strong> <a href="https://www.rajeshkumar.xyz/">Rajesh Kumar Personal Website</a> <a href="https://www.youtube.com/TheDevOpsSchool">Rajesh Kumar at YOUTUBE</a> <a href="https://www.instagram.com/rajeshkumarin">Rajesh Kumar at INSTAGRAM</a> <a href="https://x.com/RajeshKumarIn">Rajesh Kumar at X</a> <a href="https://www.facebook.com/RajeshKumarLog">Rajesh Kumar at FACEBOOK</a> <a href="https://www.linkedin.com/in/rajeshkumarin/">Rajesh Kumar at LINKEDIN</a> <a href="https://www.wizbrand.com/rajeshkumar">Rajesh Kumar at WIZBRAND</a> <a href="https://www.rajeshkumar.xyz/dailylogs">Rajesh Kumar DailyLogs</a>

Related Posts

List of all Job Roles, Job Titles in Software and IT Companies

The software and IT industry is home to a diverse array of job roles and titles, reflecting the dynamic and ever-evolving nature of technology. From core technical…

Read More

Best DevOps Tools in 2024

hereโ€™s a clear, structured breakdown of the Best DevOps Tools (grouped by categories), so you can use it for learning, training, or posts. ๐Ÿš€ Best DevOps Tools…

Read More

OpenShift Install & Configurations using OpenShift Local in windows laptops/desktops

Below is the 100% correct and updated step-by-step guide to install and configure OpenShift Local (aka CRC) on Windows 10/11 laptops or desktops using the correct crc…

Read More

Openshift: Lab 10 – View performance information using the OpenShift web console

Rajesh Kumar Iโ€™m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I have worked at Cotocus. I share tech blog at DevOps School, travel stories at…

Read More

Openshift: How to add Helm Repository in Openshift

Adding a Helm repository in OpenShift is a common step to manage and deploy Helm charts in your OpenShift cluster. OpenShift supports Helm CLI out of the…

Read More

Openshift: Lab 9 – Work with databases in the OpenShift web console

Rajesh Kumar Iโ€™m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I have worked at Cotocus. I share tech blog at DevOps School, travel stories at…

Read More
Subscribe
Notify of
guest
1 Comment
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
Jason Mitchell
Jason Mitchell
1 month ago

Very informative and practical article! The steps to configure Azure Red Hat OpenShift (ARO) with a custom domain are explained clearly, making it easier for DevOps engineers and cloud practitioners to follow. A valuable guide for setting up OpenShift in realโ€‘world environments.

1
0
Would love your thoughts, please comment.x
()
x