Question

Help needed with domain setup

Posted July 27, 2021 115 views
Node.jsDigitalOcean Droplets

Hi!
I have recently bought a domain (cloud-code.io) on godaddy, Ive set up my nameservers there (ns1, ns2, ns3). Ive also configured my domain in my DO dashboard. When I use the DO DNS lookup tool I can see that my A record is correct and my nameservers work, however when I try to go to my site I get a timeout. Is there anything else I have to setup or did I possibly make a mistake somewhere?
Thanks for any help in advance!

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.

×
Submit an Answer
1 answer

Hi @simontupy64,

Have you configured your Domain on your Droplet?

If your domain pings from your Droplet’s IP address, that is the first step. Then you need to tell your Droplet when someone searches for your Domain to display content from your Droplet.

I can see you’ve added the Node.js tag. In order to have a properly working NodeJS application, you’ll need to install Nodejs,Nginx and PM2 on your droplet and configure them. You can check the following tutorial on how you can achieve this:

https://www.digitalocean.com/community/tutorials/how-to-set-up-a-node-js-application-for-production-on-ubuntu-20-04

by Lisa Tagliaferri
by Kathleen Juell
Node.js is an open-source JavaScript runtime environment for building server-side and networking applications. The platform runs on Linux, macOS, FreeBSD, and Windows. Though you can run Node.js applications at the command line, this tutorial will…