站長俱樂部:站长论坛


返回   站長俱樂部:站长论坛 > 架設網站區 > 網站架設和網頁設計

回覆
 
主題工具 顯示模式
  #1  
舊 2007-04-17, 12:26 PM
Alone Alone 目前離線
初級會員
 
註冊日期: 2007-04-17
文章: 9
問題 請教 : "wildcarded DNS/wildcarded subdomains"

各位好,

初來報到, 請多多指教

我想在我其中一個的website安裝由以下網站提供的 php redirection 系統

http://milliscripts.com

但我不明白甚麼是 wildcarded DNS/wildcarded subdomains

引用:
Requirements

This software requires a running webserver (preferred apache) with php 4.1 installed (no version below 4.1 is supported!).
You also need 1 or more domains with wildcarded subdomains. If you are not sure what this means, ask you webspace provider about this.
The wildcards must point to the web root directory.
The software has been tested under Windows(tm) and Redhat(tm) Linux (both with apache as webserver).
我是使用 VDS 的 (有ssh root 權限 及使用 Plesk8.1)

我已將那個想使用milliscripts的domain physical host 在我的 VDS

(PS : 在同一個 VDS/IP 共 HOST 了3個domain)

我亦向我的網存查詢過, 我的 VDS 是support wildcard function 的


根據網路上搜尋得來的方法 :

我新增了以下的 DNS RECORD

Host : *.abcde.com.
Record type : A
Value : ***.**.***.*** (我的IP)

(abcde.com = 假設的domain)

引用:
Wildcarded DNS. The script will not function without this feature. To check if your web host offers wildcarded DNS, you can perform the following test: Start your browser, pick a random word (i.e. "asdf"), and enter your domain name with the random word in front of it like this: asdf.yoursite.com. If you can see the front page of your web site in your browser now, your web host offers wildcarded DNS. However, if the browser response is something like "unable to locate the server asdf.yoursite.com", then your web host does not offer wildcarded DNS, and you cannot use Subdomains (unless, of course, you move to a server that offers this feature).
如上述所言

設定正確的話

假如我瀏覽 123456.abcde.com
而 123456 是一個不存在的 subdomain
應該會指向了 domain : abcde.com 的 front page

但我現在卻指向了 Server (IP) 的 Default page

請問我要怎樣設定才正確???

煩請指教, 謝謝
回覆時引用此篇文章
  #2  
舊 2007-04-17, 02:23 PM
ras0314 ras0314 目前離線
進階會員
 
註冊日期: 2006-05-01
文章: 144
預設

那個不支援中文耶 如果輸入中文 無法用它的系統下去砍掉喔
回覆時引用此篇文章
  #3  
舊 2007-04-17, 02:44 PM
Alone Alone 目前離線
初級會員
 
註冊日期: 2007-04-17
文章: 9
預設

引用:
作者: ras0314 查看文章
那個不支援中文耶 如果輸入中文 無法用它的系統下去砍掉喔


謝謝回應

為甚麼輸入中文會無法用它的系統???

因為我仍未測試, 所以不知道

下載了 http://milliscripts.com 的檔案中有說明如何使用其他語言

只要用原本的英文語言包檔案翻譯後另存新增一個檔案選用就可以


另外要改 html 檔 : iso-8859-1 改為 big5

代碼:
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
實際上是怎樣無法用它的系統???
回覆時引用此篇文章
回覆

書籤

主題工具
顯示模式

發文規則
不可以發表新主題
不可以發表回覆
不可以上傳附件
不可以編輯自己的文章

啟用 BB 代碼
論壇啟用 表情符號
論壇啟用 [IMG] 代碼
論壇禁用 HTML 代碼

論壇跳轉

 

所有時間均為 +8。現在的時間是 05:35 PM


本站主機由網易虛擬主機代管
Powered by vBulletin® 版本 3.8.4
版權所有 ©2000 - 2024,Jelsoft Enterprises Ltd.