Going to my domain (new-world.online) brings up:
Unable to connect Firefox can’t establish a connection to the server at new-world.online.
Pinging it on CMD-Promt brings up: Reply from 104.236.37.92: bytes=32 time=91ms TTL=54
On my GoDaddy domain the hostnames are set to: ns1.digitalocean.com ns2.digitalocean.com ns3digitalocean.com I’ve left them 48 hours GoDaddy has confirmed they’ve been updated.
I’ve set @ to go to my droplet IPv4. And my CName * to point to my domain (@) All set.
Typing in the IP: 104.236.37.92 Works and takes you to my site using the reverse proxy. The reverse proxy has the domain set as new-world.online and is listening on 80 and connecting to the node app on port 8080.
I know this works because 104.236.37.92 works and not only 104.236.37.92:8080 proving the proxy works and it’s the domain:
** $ORIGIN new-world.online. $TTL 1800 new-world.online. IN SOA ns1.digitalocean.com. hostmaster.new-world.online. 1467468106 10800 3600 604800 1800 new-world.online. 1800 IN NS ns1.digitalocean.com. new-world.online. 1800 IN NS ns2.digitalocean.com. new-world.online. 1800 IN NS ns3.digitalocean.com. new-world.online. 1800 IN A 104.236.37.92 *.new-world.online. 1800 IN CNAME new-world.online. **
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
@maydongs - First, make a CNAME record in your DNS for www with value new-world.online. In addition or alternatively, you could also make a catch-all CNAME record of * (that’s a star character) to handle all subdomains. Next, you need to modify your nginx server block to have a server_name value with both new-world.online and www.new-world.online, then restart nginx. Good luck.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.