Question

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

  • Posted April 5, 2014

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 https://www.digitalocean.com/community/articles/how-to-migrate-wordpress-from-shared-hosting-to-a-cloud-server-with-zero-downtime and this one said I need to update the zone file https://www.digitalocean.com/community/articles/how-to-set-up-a-host-name-with-digitalocean

Which one should I follow? I doing both, it gave me the loop back error.

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Can you post the error you get when you do both?

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. <br> <br>From the information that you have given, you need both.