I have a probably stupid question, but here goes anyway. This is only my second day on Render and I’m trying to deploy my first MERN app. I have been using Firebase for years, so everything is all-in-one, and now I am trying to separate the client/server code. I had issues all day yesterday trying to deploy from CORS to Environment variables. I think I have it all worked out now, but I am getting an error now:
Failed to load resource: net::ERR_NAME_NOT_RESOLVED
Near as I can figure, and have verified, all the correct data is being sent to the backend, but the backend is not being found. I have a custom domain setup as well and used mydomain dot com as the frontend (setup as a static website on render) and am trying to use mydomain-api.com for the backend (setup as a web service on render). The frontend displays in the browser just fine, but I cannot call any functions on the backend without getting the error above. So, my stupid question is: Does the mydomain-api.com (web service) need it’s own registered domain and DNS pointing to it?
I think that is the problem, but not exactly sure.