I setup PWA Studio in my local. This is the final URL of the PWA storefront
how to change this URL to something like "example.com"
I managed to find below variables in .env file. But when I changed them I got the frontend URL something like "http://0.0.0.0:9087" and there is a message during the build "could not configure or access custom host. using loopback"
Have you got the solution for the same ? if yes can you share how you have resolved that ?
I didn't get chance to look into the same. But I can suggest you to join the slack group (magentocommeng.slack.com) and discuss in the PWA channel. You can get quick answers there.