Skip to main content
Became Hot Network Question
use example domain, grammar
Source Link
Stephen Ostermiller
  • 99.4k
  • 18
  • 141
  • 364

I have a domain and my landing page is displayed at mysiteexample.com, but I also need this to be the domain for my Digital OceanDigitalOcean Droplet which hosts the Node.js backend for my React apps. However, I'm having some trouble using the domain with both services. Digital OceanDigitalOcean suggested setting up the nameserver so that the DNS settings can be managed through Digital OceanDigitalOcean, so that's what I did.

I basically transferred all my DNS records from my Google Domains account to the Digital OceanDigitalOcean DNS manager and for the most part everything looks fine. If I go to mysiteexample.com I can see my Webflow site. But if I go to mysiteexample.com/api I'm just getting a 404 page not found (which is the same one I designed in Webflow). In other words, it doesn't look like I'm connecting to my Droplet with this domain because if I go to dropletip:port I get Cannot GET /api (which is expected since there's no /api route).

Is it possible to use one domain for Digital OceanDigitalOcean and Webflow? Right now I have an A record that points to Webflow's IP address and my Droplet's IP address, but like I said, only Webflow's is being reached.

I have a domain and my landing page is displayed at mysite.com, but I also need this to be the domain for my Digital Ocean Droplet which hosts the Node.js backend for my React apps. However, I'm having some trouble using the domain with both services. Digital Ocean suggested setting up the nameserver so that the DNS settings can be managed through Digital Ocean, so that's what I did.

I basically transferred all my DNS records from my Google Domains account to the Digital Ocean DNS manager and for the most part everything looks fine. If I go to mysite.com I can see my Webflow site. But if I go to mysite.com/api I'm just getting a 404 page not found (which is the same one I designed in Webflow). In other words, it doesn't look like I'm connecting to my Droplet with this domain because if I go to dropletip:port I get Cannot GET /api (which is expected since there's no /api route).

Is it possible to use one domain for Digital Ocean and Webflow? Right now I have an A record that points to Webflow's IP address and my Droplet's IP address, but like I said, only Webflow's is being reached.

I have a domain and my landing page is displayed at example.com, but I also need this to be the domain for my DigitalOcean Droplet which hosts the Node.js backend for my React apps. However, I'm having some trouble using the domain with both services. DigitalOcean suggested setting up the nameserver so that the DNS settings can be managed through DigitalOcean, so that's what I did.

I basically transferred all my DNS records from my Google Domains account to the DigitalOcean DNS manager and for the most part everything looks fine. If I go to example.com I can see my Webflow site. But if I go to example.com/api I'm just getting a 404 page not found (which is the same one I designed in Webflow). In other words, it doesn't look like I'm connecting to my Droplet with this domain because if I go to dropletip:port I get Cannot GET /api (which is expected since there's no /api route).

Is it possible to use one domain for DigitalOcean and Webflow? Right now I have an A record that points to Webflow's IP address and my Droplet's IP address, but like I said, only Webflow's is being reached.

Source Link

How can I use a different A record for a specific path?

I have a domain and my landing page is displayed at mysite.com, but I also need this to be the domain for my Digital Ocean Droplet which hosts the Node.js backend for my React apps. However, I'm having some trouble using the domain with both services. Digital Ocean suggested setting up the nameserver so that the DNS settings can be managed through Digital Ocean, so that's what I did.

I basically transferred all my DNS records from my Google Domains account to the Digital Ocean DNS manager and for the most part everything looks fine. If I go to mysite.com I can see my Webflow site. But if I go to mysite.com/api I'm just getting a 404 page not found (which is the same one I designed in Webflow). In other words, it doesn't look like I'm connecting to my Droplet with this domain because if I go to dropletip:port I get Cannot GET /api (which is expected since there's no /api route).

Is it possible to use one domain for Digital Ocean and Webflow? Right now I have an A record that points to Webflow's IP address and my Droplet's IP address, but like I said, only Webflow's is being reached.