Is it possible to use the same domain for the backend?


I currently have the frontend portion of my web application successfully hosted on a Google domain via Netlify. I am wondering if I could also host my backend on the same domain as well (eg. (client) && (server)). If so, how would I go about doing so? I have tried listing on my Netlify custom domains but have been unsuccessful in trying to connect my Digital Ocean Droplet to it.


Hey @qmfkdldjsrla

Yes, you can have and configured to the frontend, and configured for the backend.

The method of configuration will differ depending on how the domain is configured: using Netlify DNS or using external DNS.

Thanks for the prompt response @coelmay , I’ll definitely give it a go!