Report this

What is the reason for this report?

Virtual hosts created, now what?

Posted on September 15, 2015

Hi everyone, hope you can help.

I have created the virtual hosts in /var/www using the apache virtual host tutorial but now I’m clueless. Could I just copy the files from html and paste it to this intended domain folder? and how do I find the link to access the other hosts? Confused and new to this so if anyone could walk me through it like I’m a child please? Thanks in advance.

Regards, Tye



This textbox defaults to using Markdown to format your 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.

You don’t need to create your virtualhosts inside the /var/www directory. That is used for the website files itself. Follow this tutorial exactly, and you should be able to connect to your site with your domain name. Keep in mind , you also need to or

  • Transfer the nameservers of your domain from your registrar to digitalocean and manage them here
  • Make an A / CNAME record inside the CP of your registrar wich has the host of your DO droplet IP

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.