Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/wordpress/11.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 在VVV中创建的新网站不';不出现_Php_Wordpress_Nginx_Vagrant_Vvv Wordpress - Fatal编程技术网

Php 在VVV中创建的新网站不';不出现

Php 在VVV中创建的新网站不';不出现,php,wordpress,nginx,vagrant,vvv-wordpress,Php,Wordpress,Nginx,Vagrant,Vvv Wordpress,使用vv create创建的新网站不会出现在主机中,创建后我也找不到它们 我有很多网站都是在vvv中创建的,但是流浪的hostsupdater只能从vvv中找到默认的网站。在升级到VV2.0之后,我遇到了这个问题 有人知道如何解决这个问题吗? 如何创建我的网站-nginx中的aluxh.dev ==> default: [vagrant-hostsupdater] Checking for host entries ==> default: [vagrant-hostsupdater

使用
vv create
创建的新网站不会出现在主机中,创建后我也找不到它们

我有很多网站都是在vvv中创建的,但是流浪的hostsupdater只能从vvv中找到默认的网站。在升级到VV2.0之后,我遇到了这个问题

有人知道如何解决这个问题吗? 如何创建我的网站-nginx中的aluxh.dev

==> default: [vagrant-hostsupdater] Checking for host entries
==> default: [vagrant-hostsupdater]   found entry for: 192.168.50.4 vvv
==> default: [vagrant-hostsupdater]   found entry for: 192.168.50.4 vvv.dev
==> default: [vagrant-hostsupdater]   found entry for: 192.168.50.4 local.wordpress.dev
==> default: [vagrant-hostsupdater]   found entry for: 192.168.50.4 src.wordpress-develop.dev
==> default: [vagrant-hostsupdater]   found entry for: 192.168.50.4 build.wordpress-develop.dev

此外,当我进行设置时,它也停止提示我输入密码。我不明白为什么。

我做了进一步的故障排除,并通过添加以下内容发现:

vvvtest:
  hosts:
    - vvvtest.com
vvv custom.yml
中,流浪的hostsupdater将能够找到我的条目并开始进行映射


任何人都知道我如何在
vv-c
之后将站点添加到
vvv-custom.yml
自动完成?

我一直采用的方法是,按照您所述将站点添加到vvv-custom.yml,然后执行
vagrant reload--provision
。我不知道
vv-c
-从未使用过该命令