Changed droplet name now I can't connect to website even if I use the IP address
I created my first droplet using my first domain.
Now I bought a new domain and point the DO nameservers to that domain and delete nameservers on the old domain.
My droplet name is using the first domain so what I did is change the droplet name to the new domain.
Now my website shows We can’t connect to the server at firstdomain.com.
And it still shows the first domain even if I typed the new domain on the browser.