搞懂CNAME

搞懂CNAME

什麼是 CNAME ?

CNAME 紀錄值一律為網域名稱,通常可用於建立子網域。CNAME 紀錄實用之處在於可讓您使用其他或「正規」的網域名稱為伺服器 IP 位址設定別名,而不需指定 IP 位址。

搞懂CNAME

舉例來說,www.example.com 可能擁有指向 example.com 的 CNAME 紀錄。如果 example.com 的 A 紀錄已設定對應的 IP 位址,那麼來自 www.example.com 的流量將會導向這個 IP 位址。

要注意的是它是對應到使用此IP的預設網站(如果這個IP有很多站台時),嚴格來說不能用來轉址用。

IP有變動,使用CNAME一次改所有的子網域IP

如果你有多個子網域網站,都是同個ip

例如

aaa.hahasmile.com 220.33.44.55

bbb.hahasmile.com 220.33.44.55

ccc.hahasmile.com 220.33.44.55

未來如果 220.33.44.55 這個ip有變動

那這三個網站就需要更改ip

更快的方式可以使用CNAME

首先要有個A紀錄 www.hahasmile.com 指向 220.33.44.55

aaa bbb ccc 都使用別名新增

例如 aaa 目標網域可設 www.hahasmile.com

例如 bbb 目標網域可設 www.hahasmile.com

例如 ccc 目標網域可設 www.hahasmile.com

這樣未來ip有變動

只要改A紀錄 www.hahasmile.com 指向新ip xxx.xxx.xxx.xxx

升級 PHP 5.3.0 步驟

先停止Apache

下載最新 PHP 版本 http://windows.php.net/download/

解壓縮後覆蓋原有的php5資料夾

閱讀更多

Windows設置郵件DKIM協定

Windows設置郵件DKIM協定

DKIMDomainKeys Identified Mail)是一種電子郵件的驗證技術,使用密碼學的基礎提供了簽名與驗證的功能。

一般來說,發送方會在電子郵件的標頭插入

1
DKIM-Signature

及電子簽名資訊。而接收方則透過DNS查詢得到公開金鑰後進行驗證。

DKIM是由DomainKeys所改進的協定,大多數的運作方式與DomainKeys相同。在2007年2月時,DKIM被列入互聯網工程工作小組(IETF)的標準提案(Proposed Standard),並於同年5月成為正式標準(Standards Track)。

DKIM 與 Domainkeys 是兩個不同的協定
據我了解Domainkeys是舊的協定已經不再更新,如果要設定,也要看看你的郵件主機是否支援。

閱讀更多

DFS 分散式檔案系統

DFS 分散式檔案系統

1.提高檔案的存取效率

2.提高檔案的可用性

3.伺服器負載平衡功能

server 2008 R2 安裝 DFS命名空間 和 DFS複寫

web server1 server2 資料夾複寫同步

配合NLB網路負載平衡,IIS網站設定共用實體路徑

RAID5 實作

使用 IBM ServerRAID M5014

4X320G 做RAID5

安裝 megaraid storage manager 管理程式

讀寫速度測試:

LSI http://www.lsi.com

受保護的內容: hMail Server 設定筆記

受保護的內容: hMail Server 設定筆記

這篇內容受到密碼保護。如需檢視內容,請於下方欄位輸入密碼:

使用主機板內建的raid1來做還原測試

使用主機板內建的raid1來做還原測試

某次Raid1的一顆硬碟壞了,馬上換新的一顆上去,然後出現rebuild的資訊

但又看到一行Volumns with "Rebuild" status will be rebuilt within the operating system.

請教谷哥大神~

原來要Rebuild,作業系統還要安裝Intel Rapid Storage Technology 管理軟體,才會開始做rebuild。

 

BlueScreenView 藍屏事件檢測工具

BlueScreenView 藍屏事件檢測工具

BlueScreenView scans all your minidump files created during 'blue screen of death' crashes, and displays the information about all crashes in one table. For each crash, BlueScreenView displays the minidump filename, the date/time of the crash, the basic crash information displayed in the blue screen (Bug Check Code and 4 parameters), and the details of the driver or module that possibly caused the crash (filename, product name, file description, and file version).
For each crash displayed in the upper pane, you can view the details of the device drivers loaded during the crash in the lower pane. BlueScreenView also mark the drivers that their addresses found in the crash stack, so you can easily locate the suspected drivers that possibly caused the crash.

http://www.nirsoft.net/utils/blue_screen_view.html