Run Node server on DigitalOcean and run client on Zeit/Vercel

Posted July 19, 2020 540 views

My intention is to run my server on a DigitalOcean droplet using a subdomain,

But I still want to run my client on Vercel (previously known as Zeit) at


frontend -> on Vercel
backend -> on DigitalOcean

Is this possible?

I tried following this post, but with no success:

I added my droplet’s IP address to my Vercel config as an A record and pointing to, but when I visit, 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.

1 answer

Solved. There were two things I need to fix:

1. Vercel Settings
I was adding to the A record in Vercel instead of just the subdomain portion server. Their UI did not make it clear that I was accidentally adding the domain Also needed to add a second record, www.server. Point them both to the DigitalOcean IP.

2. DigitalOcean Settings
Needed to add two A records in the DigitalOcean Domains settings. One for server and one for www.server both pointing to my DigitalOcean droplet IP.

Submit an Answer