↑ Return to Domains

D12 Install subdomains & BackupBuddy


Page no: D12

This page is a tutorial how to setup subdomains for our different feedsite blogs in easy steps.

See also under BackupBuddy

 

Step 0

Check if the backup size can be reduced, removing Duplicate images

Step 1) Making backup

We need to make backup of our core wordpress site, where we made the tests and finish the setuping of feed plugin and others.

This can be done via BackupBuddy plugin. Under BackupBuddy -> Backup we can see the page, where all the backups are. There are two buttons for manual backups. We have to click on “Complete backup”. After that BackupBuddy will start to backuping our site and we have to wait.

BackupBuddy: Step 1 making backup

BackupBuddy: Step 1 making backup

Step 2) Downloading the backup

After 5 to 10 mins the plugin will create the backup and we have to start downloading it. Via the blue button “Download backup file”, we will start downloading the zip file, which contains all our files and the DB. We have to save it to our computer. The downloading process depends on the size of the backup. Probably 2 to 5 mins.

BackupBuddy: Step 2 download the backup

BackupBuddy: Step 2 download the backup

3) Setup importbuddy.php

We will need another file from BackupBuddy plugin. With which we will unzip and install the site. It is called importbuddy.

Via BackupBuddy -> Restore / Migrate we will see all our backups in the table. Above the table we will see two buttons and instructions how to use importbuddy.php. We need to click on the first blue button “Download importbuddy.php”. After that the system will ask for password. We must enter password and remember it, because it will be needed later.

BackupBuddy: Step 3 download importbuddy.php

BackupBuddy: Step 3 download importbuddy.php

 4) Adding the users

With the three steps above we are ready with the core version of our feed sites. Now we need to setup the account and the subdomain for the new blog.

Next steps will be done from VestaCP. Full documentation can be found here.

We firstly need to add the user. It has to be done from the admin user. Under User menu, we have to select the green button “Add user”.  From there we need to add the username, password, email of the owner and names of the owner. When we add all the needed information, we have to save. The user will be added.

VestaCP: Step 4 adding user

5) Adding the domain (subdomain) to a user

After the user, we have to setup the domain. First logout from the old admin user and after that log in with the newly created.

Under menu Web -> add web domain, we can add the needed domain or subdomain and add them to the user.

VestaCP: Step 5 add domain

VestaCP: Step 5 add domain - Click to enlarge

In the form the only action is to add the domain (subdomain) and click on “add” button. That’s it.

VestaCP: Step 5 Adding domain

VestaCP: Step 5 Adding domain - Click to enlarge

6) Making DB and user DB

The last thing into VestaCP is the database. Under DB we can see our data bases. We need to create a new one for the blog. Every blog must be into different DB.

Via the green button we have to setup the DB. The required fields are name, user and password.

VestaCP: Step 6 making DB

VestaCP: Step 6 making DB - Click to enlarge

7) Uploading the backup via FileZilla

Now we need different software for uploading the backup. We suggest FileZilla – free and open source.

We have to log in into the server with the user and password from Step 4. After that we need to navigate to the domain folder and there we need to upload the backup and importbuddy from Step 1 and Step 3. The estimate time for uploading is 1 to 5min.

Filezilla: Step 7 uploading the backup and importbuddy

Filezilla: Step 7 uploading the backup and importbuddy - Click to enlarge

8) Open the importbuddy.php

We have to navigate via the browser to “subdomain.com/importbuddy.php” where subdomain is the domain from Step 5. After that we have to enter the password from Step 3. Then the installation wizard begin.

Importbuddy: Step 8 entering the password

Importbuddy: Step 8 entering the password - Click to enlarge

9a) Importbuddy: Select backup to restore

On Step 1 from the wizard we have to select the backup from Step 1 and continue to Step 2. The estimated time will be 1 to 2 mins and if there is no any error, you will be redirected directly to Step 3 from the wizard.

ImportBuddy: Step 9 Backup restore

ImportBuddy: Step 9a Backup restore

9b) ImportBuddy: DataBase settings

On Step 3 from ImportBuddy we have to add the database settings from Step 6 (VestaCP: Adding DB). After that continue with the wizard. If there is no any error, we will be redirected on Step 5 from ImportBuddy.

ImportBuddy: Step 11 Filling up the db settings

ImportBuddy: Step 11 Filling up the db settings - Click to enlarge

9c) ImportBuddy: Site settings

On the last step from the installing wizard we have to set the new domain name. It will be auto-filled, so we only have to click on the blue button “Next step”.

Importbuddy: Step 11 Site settings

Importbuddy: Step 11 Site settings - Click to enlarge

 

See more for Domains