歡迎光臨, 訪客. 請先 登入註冊一個帳號.
四月 26, 2024, 04:52:55 上午
19595 文章 在 3865 主題 由 4580 會員
最新註冊會員: aa123aa1
LifeType 中文開發論壇  |  支援  |  安裝與設定  |  超诡异|关于二级域名的设置 « 上篇主題 下篇主題 »
頁: [1]
作者 主題: 超诡异|关于二级域名的设置  (閱讀 9434 次)
胡文
新手見習
*
文章: 2


檢視個人資料
« 於: 十二月 22, 2007, 04:27:09 下午 »

按照http://forum.lifetype.org.cn/index.php?topic=199.0来做

步骤1.
 DNS 已修改完毕   如下

www           IN      A      220.xx.xx.xx
blog          IN      A       220.xx.xx.xx
*.blog       IN      A       220.xx.xx.xx


步骤2.
httpd.conf 空间商也说修改好了 没问题
 


步骤3.

subdomains_enabled
启用

subdomains_base_url 输入如下
 http://{username}.blog.xxx.cn

按道理已经完成 但是访问二级域名不行

搜索了很多 没明白 达人帮我看看问题出在哪里

地址: http://blog.stonetown.cn

访问http://new-life.blog.stonetown.cn/出不来
访问http://new-life.blog.stonetown.cn/index.php?blogId=3直接not found

谢谢先
已記錄
bigjj
新手見習
*
文章: 36


檢視個人資料
« 回覆文章 #1 於: 十二月 25, 2007, 11:41:42 上午 »

我是这样设的:

base_url
http://blog.xxx.com

subdomains_base_url
http://{blogdomain}

subdomains_available_domains
blog.xxx.com
已記錄

胡文
新手見習
*
文章: 2


檢視個人資料
« 回覆文章 #2 於: 十二月 25, 2007, 03:53:30 下午 »

照此设置无效 汗
已記錄
ajer001
版主
超級會員
*****
文章: 516


張阿駕


檢視個人資料 個人網站
« 回覆文章 #3 於: 十二月 25, 2007, 05:25:01 下午 »

請這樣試試看:

1. 把 subdomains_base_url 改成
http://{username}.{blogdomain}

http://{blogname}.{blogdomain}

2. include_blog_id_in_url 選擇否

這樣再試試看。

如果還是不行,我想可能要確認一下是不是真的有設定好 httpd.conf 部份。
已記錄

|| FreeBSD + Apache 2.x + PHP 5.x + MySQL 5.x ||
-- ajer001 AT twntwn.info --
頁: [1]
LifeType 中文開發論壇  |  支援  |  安裝與設定  |  超诡异|关于二级域名的设置 « 上篇主題 下篇主題 »
    前往: