Custom domains no longer possible?

I use AI Studio Build a lot, and like publishing my apps to subdomains. For example, I have https//ai-social-media-assistant-772282596230.us-west1.run.app mapped to https//social.jhm.lol/ on cloud. google. com/run/domains.

For the past little while, all the new apps that I’ve published have been published to US-WEST2 instead of US-WEST1. Unfortunately, US-WEST2 doesn’t allow that.

Domain mappings are not available in the region of the selected service. Either copy this service to a different region, use an Application Load Balancer or Firebase Hosting.

There’s also no way to change where your app is deployed.

Is there a way to fix this? I just spent 30 minutes creating a (trial) Railway account, pushing the app to GitHub, and getting everything configured right. I tried using Firebase, but that was even more complicated.

This is aggravating and makes your service dramatically less useful than it used to be.

Or am I holding it wrong? Is this something I can fix?

yo idk im not gemini but im doing a feedback at ur project

Its useless first u have to put ur api key to a random website second wtf its abt ? third why flow and not you another useless project :squinting_face_with_tongue: if you could explain what ur project even for thx

Harsh!

  1. I was just using this as a demo example of a URL.
  2. There’s a more sophisticated version at natter.jhm.lol. I built it to help me write social comments in my own voice, mostly as a lark to see if it could be done (it could) and to see if I could build a PWA in AI Studio (at the time, I could not).
  3. “why flow and not you another useless project” I have no idea what you’re saying.
  4. Whether you trust it or not is up to you! But the key is kept locally on your device. I do this for most of my projects because it lets me release for free without worrying about costs to me.

btw as i seen for of ur website

it looked like a ai generation of image we dont really understand if its a fun project or a real one anyway i dont see anybody putting their key on it to do a job that …

It was interesting to explore different interaction models. In the final one, it uses screenshots as an interface - you can “share” the screenshot to the installed PWA and it uses that to generate text. It’s convenient enough and does a good enough job that a few folks use it (or at least were - I don’t have any tracking on it). Certainly better than copying/pasting in the Gemini or similar app.

Also - I’d appreciate it if we could return to the question of “how do we use custom domain mappings again?”

Thanks! Feel free to message me if you’d like to talk about my apps.

The Root of the Issue

Google AI Studio Build deploys your applications directly to Google Cloud Run. Recently, the default deployment region appears to have shifted to us-west2 (Los Angeles).

As the error message states, Cloud Run’s native, free custom domain mapping is only available in a limited set of regions (such as us-west1, us-central1, and us-east1). Because AI Studio currently lacks a user-facing toggle to manually select your preferred deployment region, your new apps are landing in a region that simply does not support the domain mapping feature.

Potential Workarounds

Since you cannot change the deployment region directly inside AI Studio Build right now, you have to bypass the limitation using the Google Cloud Console.

1. Copy the Service to a Supported Region (Recommended)

The error message briefly mentions this, and it is the fastest workaround that avoids the complexity of Firebase or the cost of a Load Balancer.

  • Open the Google Cloud Console and navigate to Cloud Run.

  • Locate and click on the service that AI Studio deployed to us-west2.

  • Click the COPY button at the top of the service details page.

  • In the configuration screen, change the region dropdown back to us-west1 (or us-central1).

  • Deploy the copied service.

  • Apply your custom domain mapping to this new, duplicated service.

2. Give Firebase Hosting Another Try

You mentioned Firebase felt complicated, but it is Google’s official free-tier recommendation for this exact limitation. Firebase acts as a global proxy, catching your custom domain traffic and rewriting it to the underlying us-west2 Cloud Run URL. It requires installing the Firebase CLI and deploying a simple firebase.json file, but it handles the SSL certificates automatically once set up.

3. Application Load Balancer

This is the other option suggested in your screenshot. A Global External Application Load Balancer will route traffic from your custom domain to a backend service in any region. However, it requires configuring backend services, URL maps, and frontend IP configurations. It also incurs a baseline monthly cost, making it massive overkill for applications you are just testing or publishing for fun.

Would you like me to walk you through the exact Google Cloud Console steps to copy your existing service to us-west1 so you can get your domain mapped today?

here what i asked to ai