Which one should I follow for DNS?Create a Virtual Host or update the zone file

Posted April 5, 2014 2.3k views
I am newbie for host configuration. I trying to set up my website in ubunto In this one they said, I should create the Virtual host and this one said I need to update the zone file Which one should I follow? I doing both, it gave me the loop back error.

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.

Submit an Answer
2 answers
While DNS is a way of telling the rest of the world that what is the IP address where your wordpress site is hosted, a virtual host is the way to tell the incoming request that where from your server's directory structure the site is hosted.

From the information that you have given, you need both.
Can you post the error you get when you do both?