Page 1 of 1

Error WP Multisite

PostPosted:23 Nov 2018 05:38
by pauloficaadica
Hello!

I have a multisite website from another server, it has now been migrated to vpssim.

But I can't create vhost because vpssim shows error when configuring the multisite.

The vpssim says that the site is already multisite, yes it is, I just want to show the vpssim that this is a multisite site to create vhosts. But I can't.

See the link bellow:

http://prntscr.com/llsv5n

Re: Error WP Multisite

PostPosted:23 Nov 2018 08:57
by nguyenoanh
Hello.

If you restore the database first, you can not create the Vhost because that sub already createed in the database.
Now, you can fixed that by manual create the vhost for it by create the vhost sub.domain.com.conf in /etc/nginx/conf.d/

with them same content like domain.com.conf

but you must edit them server name and domain name in it.
Do not edit root and code folder :)

Re: Error WP Multisite

PostPosted:23 Nov 2018 09:30
by pauloficaadica
right, then the content of the all vhosts file will always be the same, I need to have the sub-domain name in the each filename, is this it?

Re: Error WP Multisite

PostPosted:23 Nov 2018 09:33
by nguyenoanh
Yes, yes :)