Page 1 of 1

Multi site hosting on vesta

Posted: Fri Feb 07, 2020 10:37 am
by nismo_23
Hello everyone.
I have a small problem.
I have a vps where I installed vesta cp, which in turn I installed a site in wp and it works great. Now I have migrated another wp site that I would like to host, I have migrated the site, the db and connected everything.
I created the domain I redirected from ovh to the ip of my server but despite this I can't reach the new site that I uploaded.
What am I doing wrong? how can i solve?
Thanks so much

Re: Multi site hosting on vesta

Posted: Fri Feb 07, 2020 2:12 pm
by exclu254
nismo_23 wrote:
Fri Feb 07, 2020 10:37 am
Hello everyone.
I have a small problem.
I have a vps where I installed vesta cp, which in turn I installed a site in wp and it works great. Now I have migrated another wp site that I would like to host, I have migrated the site, the db and connected everything.
I created the domain I redirected from ovh to the ip of my server but despite this I can't reach the new site that I uploaded.
What am I doing wrong? how can i solve?
Thanks so much
What error message did you receive when you try reaching the site.

Re: Hosting multisito su vesta

Posted: Fri Feb 07, 2020 5:09 pm
by nismo_23
Thanks so much for replying.
I only get the writing with the domain name and then under Powered by VESTA.

how can i solve?

Re: Hosting multisito su vesta

Posted: Fri Feb 07, 2020 8:05 pm
by exclu254
nismo_23 wrote:
Fri Feb 07, 2020 5:09 pm
Thanks so much for replying.
I only get the writing with the domain name and then under Powered by VESTA.

how can i solve?
Did you create a new web account for that domain? I believe so since you got the name of the website when you visited.

It doesn't hurt to cross-check if...

1. The domain is created in the web section of vesta
2. Make sure you are using the public IP address of your server; it is usually the second one in the IP address dropbox

You said: "I have migrated another wp site that I would like to host, I have migrated the site, the db and connected everything."

Did you migrate the website content under admin/web/anotherwebsitename.com/public_html?

Cross-check if the files you migrated are sitting here:

Code: Select all

cd ~admin/web/anotherwebsitename.com/public_html

Re: Multi site hosting on vesta

Posted: Sun Feb 09, 2020 8:12 am
by nismo_23
what I did:

vesta cp

1 web add domain

domain name, public ip of the machine
web template "hosting" then changed to "default"
active ssl
ftp and I saved

from the ftp created on the site
I uploaded the bk of the old hosting

I went to phpmyadmin
I created the db and imported all the db.

are from ovh I set the dns.

I can't find the path you gave me.

Did I do wrong this way?

Re: Multi site hosting on vesta

Posted: Sun Feb 09, 2020 1:15 pm
by exclu254
I uploaded the bk of the old hostin
In what directory did you uploaded this?

It should be under the public_html of that new domain you created in the web section.

So, this is what you should confirm, log back into d ftp of that site, and crosscheck if you uploaded the backups under the public_html.

Moreover, If your backup file is in zip format or any format, make sure you are extracting it under the public_html directory and not on a new folder.

Let me know how it goes!

Re: Multi site hosting on vesta

Posted: Sun Feb 09, 2020 3:13 pm
by tlozano
Do you have delete default index.html?. You have to delete Index.html yo work index.php from WP.

Re: Multi site hosting on vesta

Posted: Sun Feb 09, 2020 5:33 pm
by exclu254
tlozano wrote:
Sun Feb 09, 2020 3:13 pm
Do you have delete default index.html?. You have to delete Index.html yo work index.php from WP.
Ha, this is very correct! It seems the domain is picking up index.html

Re: Multi site hosting on vesta

Posted: Mon Feb 10, 2020 7:56 am
by nismo_23
Good morning guys,
Thanks a lot for the support in the end I solved by deleting the index.html.

xclu254 thanks again for the support! to answer your question yes I put everything in the pubblic_html.

now it works and the site goes much faster.

thanks again guys