VPS侦探论坛

 找回密码
 注册
查看: 6392|回复: 0

发现虚拟机从第建立第三个开始就失效了

[复制链接]
发表于 2011-3-6 12:53:21 | 显示全部楼层 |阅读模式

前两个解析正常,从第三个开始就不解析域名了。域名一直指向的都是默认的根目录。请问有没有办法解决啊。
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_pass  unix:/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解析是没有问题的。请各位高手来解答一下哦~
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-20 00:37 , Processed in 0.024597 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表