Ubuntu 14 , LAMP Even after defining the vitualhost in apche2/sites-available/mydomain.com.conf the domain is still pointing to the var/www/html (which is the default root of server)
The actual directiry defined for mydomain was var/www/mydomain.com/public_html/ but i’m not sure why its not obeying the rule :-( I have setup two more domains, and they worked smoothly.
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.