站長俱樂部:站长论坛

站長俱樂部:站长论坛 (http://www.webmasterclub.org/index.php)
-   網站架設和網頁設計 (http://www.webmasterclub.org/forumdisplay.php?f=13)
-   -   請教 : "wildcarded DNS/wildcarded subdomains" (http://www.webmasterclub.org/showthread.php?t=1811)

Alone 2007-04-17 12:26 PM

請教 : "wildcarded DNS/wildcarded subdomains"
 
各位好,

初來報到, 請多多指教 :bow

我想在我其中一個的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

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

煩請指教, 謝謝

ras0314 2007-04-17 02:23 PM

那個不支援中文耶 如果輸入中文 無法用它的系統下去砍掉喔

Alone 2007-04-17 02:44 PM

引用:

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



謝謝回應

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

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

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

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


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

代碼:

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
:what 實際上是怎樣無法用它的系統???


所有時間均為 +8。現在的時間是 03:26 AM

Powered by vBulletin® 版本 3.8.4
版權所有 ©2000 - 2024,Jelsoft Enterprises Ltd.