Report this

What is the reason for this report?

Two WordPress sites on one droplet with VestaCP

Posted on January 24, 2017

Hi everybody, I’m really new to VPS and only have some experience with CPanel, so maybe my question is stupid, but I read every tutorial available, and I still can figure out how to solve my problem.

I want to install two WordPress websites on the same droplet with Ubuntu 16.04.01. I was suggested to use VestaCP to manage it, and somehow I succeeded in installing one of the websites. Now I want to go for the second one.

Here’s what I’ve done so far: -installed VestaCP -created one domain and one DB for one of the sites -installed WordPress in the public_html folder using FileZilla -exported to the new WordPress installation the website (files and database) using a plugin called Wp All-In-One Migration

Now I am stuck: could you please help me understand what should I do to install the other website? Where should I put it?

Thanks!



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.

@ehiale

You can add new domains by logging in to VestaCP, clicking on Web, and then finally clicking on the green + icon. Each domain that you create will have a home directory created for it below the home directory of the user you’re logged in as.

For instance, if you’re logged in as admin, this users home directory is:

/home/admin

and each domain that you create as that user will be located in:

/home/admin/web

So, for example, if you created domain01.com as the admin user, that domains home directory would be:

/home/admin/web/domain01.com

… and you’d want to upload your files (i.e. WordPress) to:

/home/admin/web/domain01.com/public_html

Once your domain is setup and you’ve uploaded your files to the proper directory, you would then need to create a database for your WordPress instance.

From the VestCP control panel, you’d look back to the top navigation where you clicked on Web and instead click on DB, click the green + icon, and fill out the details for the database you want to create. You’ll use that information when you run the installer for WordPress.

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.