DNS Setup for my Domain and connecting Correct Directory /var/www/
I am new to DO . Getting used to it slowly.
Droplet Specs: IPv6 enabled, Ubuntu 15.0.4 32Bit, LEMP, PhpMyAdmin installed using the tutorials here at DO.
I have a domain at Godaddy. As i learnt that hosting my own mail server will be too hectic and is not recommended. So, i have decided to use the email service of godaddy itself.
Now, if i want to use the godaddy email service, then do i just have to point A records of my domain to DO now or i should even change the DNS.
If yes what should i input in A records at Domain DNS at godaddy and What should i input in A , AAAA records or any other records req at DNS on DO.
That is first part of the quest.
I have created this /var/www/mydomain.com/html (mydomain.com is the example domain for explanation)
now i want to point mydomain.com at godaddy to show content from the above directory.
Will the above asked A Records thing solve this itself, by pointing the A records , will the site load content from the above directory.
If yes, then its fine. If NO, can you help me what should i do for this ?