I have recently started using DigitalOcean. My domain/hosting is managed my Hostgator. I have installed WordPress/LEMP/CentOS6. I want mydomain.com to point to Droplet's IP. I can't change nameserver to avoid messing up email, so, yesterday I set A Record to Droplet's IP. It seems to work fine most of the time. But it has been hit and miss. From time to time domain name wouldn't take me to my WordPress install but something "Index of /" and a blank page with root of Hostgator's Apache server space.
What is the proper way to setup my domain name to point to IP address here at the Digital Ocean?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart.
If you run into issues leave a comment, or add your own answer to help others.