Single Click WordPress Image How to Setup Multiple Domain ?

November 4, 2014 1.4k views

Hello Sir,

i have Duplicated Apache Virtual Host Configuration file which is 00-defualt.cnf
cannot run this command through command line
sudo cp default FirstSite
sudo cp default SecondSite
i did this setting through WinSCP.
still this is not working Please Help me.

i have installed Single Click WP Image. the issue is i have added one more domain on this Droplet. using this Tutorial.

2 Answers

It looks like you might be following this tutorial to setup multiple WordPress sites. That was originally written for Ubuntu 12.04, but the WordPress One-Click app is based on Ubuntu 14.04. On that version of Ubuntu the Apache config file default was renamed to 000-default.conf Also, all Apache config files should end with .conf now. So the section that tutorial where you copy the file would now look something like:

cd /etc/apache2/sites-available/
cp 000-default.conf FirstSite.conf
cp 000-default.conf SecondSite.conf
# Edit your domain names
a2dissite 000-default.conf
a2ensite FirstSite.conf
a2ensite SecondSite.conf
by Justin Ellingwood
WordPress is a popular content management system (CMS) that can be used to quickly launch blogs and websites. In this guide, we will discuss how to launch two separate blogs, each associated with their own domains, from one VPS.

I have same issue.
I also have tried what you suggest but the result is same.
I can't access new domain that i want to register with.

Anyone can help me solve this issue ?

Have another answer? Share your knowledge.