So, I got a domain, suputamadre.es
I launched a google cloud instance and assigned an IP to it, say 1.2.3.4
I launched my django server to listen on 0.0.0.0:80
I try to connect by going on chrome to http://1.2.3.4 or http://1.2.3.4:80 and it works. Great.
Set up my domain on Google Cloud DNS (domain bought from GoDaddy, so pointed the nameservers to Google Cloud)
Set up an A record suputamadre.es pointing to 1.2.3.4
Going to cmd and doing a ping suputamadre.es returns 1.2.3.4
Going in a browser and writing suputamadre.es returns a Connection refused error, however suputamadre.es:80 works. Why is that? How can I just point this domain to my server? Tried doing a CNAME, didn't work either...
While on topic, is there any way of pointing it to both :80 and :443 to support SSL without running two concurrent servers? Or even point the domain to 1.2.3.4:8000 without having to use a redirect given that SRV don't work in browsers?
Thanks a bunch. I've been stuck on this for two days now, and whatever I try to google doesn't seem to work for me. Not to mention that if I google something about "DNS A register" google thinks I'm talking about a register...