0

I am trying to route my domain name on my DigitalOcean Ubuntu Droplet. I was curious if there is a default location where I can go to route this or if it is not that simple. The server is running Django. Would the domain routing take place within the Django app or does it need to be configured from a different location on the server? In other words, when a user enters "gitship.com" into their browser, how do I route it to my Django app on the server? I have already add the domain on DigitalOcean. I just need to find the right place to add it on the droplet. When I enter gitship.com into my browser right now I get "This site can’t be reached gitship.com’s server IP address could not be found."

closed as unclear what you're asking by RalfFriedl, Ipor Sircer, user88036, Thomas, jimmij Oct 4 '18 at 9:31

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • when a user enters "gitship.com" into their browser, it goes to the django app on the server. – Cody Rutscher Oct 2 '18 at 7:10
  • Start here digitalocean.com/docs/networking/dns – roaima Oct 2 '18 at 7:23
  • I have already add the domain on DigitalOcean. I just need to find the right place to add it on the droplet. – Cody Rutscher Oct 2 '18 at 7:28
  • When you do enter gitship.com in your browser, what happens, and what (error) message do you get? (Answer in your question please... you get the style :-) – roaima Oct 2 '18 at 7:32
1

You say that

gitship.com’s server IP address could not be found

You haven't yet set up the DNS for the domain.

This is way out of scope here, but https://www.digitalocean.com/docs/networking/dns/ will help you in your way.


I see you've now set up www.gitship.com (which is a different host to gitship.com). But you've either a firewall on ports 80 and 443, or the Django web server isn't running.

  • I have already configured the DNS for the domain on DigitalOcean as NS records. – Cody Rutscher Oct 2 '18 at 17:21
  • NS gitship.com directs to ns1.digitalocean.com. 1800 – Cody Rutscher Oct 2 '18 at 17:21
  • NS gitship.com directs to ns2.digitalocean.com. 1800 – Cody Rutscher Oct 2 '18 at 17:22
  • NS gitship.com directs to ns3.digitalocean.com. 1800 – Cody Rutscher Oct 2 '18 at 17:22
  • Yes. But you haven't set up any A records, so you still haven't configured the DNS. – roaima Oct 2 '18 at 17:23

Not the answer you're looking for? Browse other questions tagged or ask your own question.