发现虚拟机从第建立第三个开始就失效了
前两个解析正常,从第三个开始就不解析域名了。域名一直指向的都是默认的根目录。请问有没有办法解决啊。server
{
listen 80;
server_name maytomo.com www.maytomo.com;
index index.html index.htm index.php default.html default.htm default.php;
root/home/wwwroot/maytomo.com/;
include wordpress.conf;
location ~ .*\.(php|php5)?$
{
fastcgi_passunix:/tmp/php-cgi.sock;
fastcgi_index index.php;
include fcgi.conf;
}
location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
{
expires 30d;
}
location ~ .*\.(js|css)?$
{
expires 12h;
}
access_log off;
}
这是.CONF文件,你们也可以打开maytomo.com 和www.maytomo.com看一下。然后再打开www.seladu.com和seladu.com看一下,seladu.com和www.seladu.com是指向根目录的网站,我是通过/root/vhost.sh安装的,没有一点差错,不知道为何会出现这种情况,我的DNS解析是没有问题的。请各位高手来解答一下哦~
页:
[1]