Question

How do I create an A record in Zeit Now to point to Digital Ocean droplet?

Posted February 12, 2019 1.3k views
DigitalOceanDNSDeploymentUbuntu 18.04

I have a domain crownd.app from Godaddy that I have changed its nameservers to point to Zeit Now and whose DNS is now managed by Zeit Now.

I would like to use api.crownd.app as a subdomain. I have a Digital Ocean droplet with ip address: 178.128.168.239 and have added an A record to Zeit Now for the subdomain api.crownd.app to point to 178.128.168.239 and this has been successfully added - https://www.whatsmydns.net/#A/api.crownd.app

However, when I visit api.crownd.app it just times out.

Is this possible? Or am I doing something wrong?

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.

×
2 answers

Hi mate, when I visit api.crownd.app I see what looks like your app query console. Hopefully it came good for you in the past hour somewhere. Thanks for being on team Shark! 💙🦈

  • Really? I still can’t access it. Only using the ip address.

    Someone pointed me in the direction that the droplet is not responding on Port 443, causing the issue. nginx is not currently running on port :443 it looks like its running on port :80.

    I did run sudo ufw allow 'Nginx Full' to allow http requests too and now getting connection refused instead of timing out.

    I think I need to create a server block/certify the domain but how do I do that when the domain isnt with Digital Ocean but being redirected?

    All the guides so far on Server Blocks are saying to create a file sudo nano /etc/nginx/sites-available/example.com or run certbot sudo certbot --nginx -d example.com -d www.example.com

    Can I do these things for api.crownd.app even though the domain is somewhere else?

Hi

I am also facing same problem

My domain theflowai.com from Godaddy that I have changed its nameservers to point to Zeit Now and whose DNS is now managed by Zeit Now.

I would like to use api.theflowai.com as a subdomain. I have a Digital Ocean droplet with ip address and have added an A record to Zeit Now for the subdomain api.theflowai.com to point DO IP and this has been successfully added - https://www.whatsmydns.net/#A/api.theflowai.com

However, when I visit api.theflowai.com it just times out.

Is this possible? Or am I doing something wrong?

I am using Ngnix for a Python based app. Also I can access my DO site using IP,but my subdomain doesn’t respond.

Submit an Answer