Run Node server on DigitalOcean and run client on Zeit/Vercel
My intention is to run my server on a DigitalOcean droplet using a subdomain, server.mywebsite.com.
But I still want to run my client on Vercel (previously known as Zeit) at mywebsite.com.
frontend -> mywebsite.com on Vercel
backend -> server.mywebsite.com on DigitalOcean
Is this possible?
I tried following this post, but with no success: https://www.digitalocean.com/community/questions/how-do-i-create-an-a-record-in-zeit-now-to-point-to-digital-ocean-droplet
I added my droplet’s IP address to my Vercel config as an A record and pointing to server.mywebsite.com, but when I visit server.mywebsite.com, I just get a 404 Vercel error.
The deployment could not be found on Vercel.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×