Multiple domainnames on nginx
I have setup Nginx with multiple blocks as described in the following tutorial https://www.digitalocean.com/community/tutorials/how-to-set-up-nginx-server-blocks-virtual-hosts-on-ubuntu-14-04-lts.
I configured 3 blocks, corresponding to 3 domains (e.g. a.com, b.com and c.com). I have a domainname at Namecheap (a.com) and two at Bluehost (b.com and c.com). I have changed all of the nameservers at the Namecheap/Bluehost to point to ns1.digitalocean.com. Then at DigitalOcean, I have created a domain for each one at DigitalOcean,
This setup however does not work as when I go to the site www.a.com, I still get my old website (which was hosted at the webhosting company). As I know propagation takes a while, I have waited about 6 hours now, but still no success. Am I missing some steps here?
One thing I was hesitating though was the IP address in the DigitalOcean "add domain" UI. I configured it to be the IP of the droplet the blocks are running on. As one also needs to select the droplet, DigitalOcean could know the IPaddress, so why to provide an IP address?