<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>酷玩意部落格(sharecool.org) &#187; bluehost</title>
	<atom:link href="http://www.sharecool.org/archives/tag/bluehost/feed" rel="self" type="application/rss+xml" />
	<link>http://www.sharecool.org</link>
	<description>分享科技、網路與生活中的酷玩意~提供部落格經營、網路資源教學文章、明星與有趣影片</description>
	<lastBuildDate>Sat, 31 Jul 2010 02:43:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>部落格(WordPress)搬到Bluehost之心得篇</title>
		<link>http://www.sharecool.org/archives/304</link>
		<comments>http://www.sharecool.org/archives/304#comments</comments>
		<pubDate>Tue, 29 May 2007 14:56:48 +0000</pubDate>
		<dc:creator>馬修</dc:creator>
				<category><![CDATA[部落格經營]]></category>
		<category><![CDATA[bluehost]]></category>
		<category><![CDATA[dreamhost]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.sharecool.org/archives/304</guid>
		<description><![CDATA[有在看筆者部落格的朋友應該都知道~ 最近這裡真是屋漏偏逢連夜雨：

2007.05.16: Google Adsense被停權
(本站被Google Adsense停權之經過與想法 )
2007.05.25-27: 三天之內，被Dreamhost虛擬主機公司停機38小... ]]></description>
			<content:encoded><![CDATA[<p>有在看筆者部落格的朋友應該都知道~ 最近這裡真是屋漏偏逢連夜雨：</p>
<ul>
<li>2007.05.16: Google Adsense被停權<br />
(<a target="_blank" href="http://www.sharecool.org/archives/290">本站被Google Adsense停權之經過與想法</a> )</li>
<li>2007.05.25-27: 三天之內，被Dreamhost虛擬主機公司停機38小時<br />
(<a target="_blank" href="http://www.sharecool.org/archives/303">我的部落格流量爆了之感想篇</a>)</li>
</ul>
<p>不過沒關係~ 筆著目前的處理方式與進度如下：</p>
<p><strong>關於Google Adsense:</strong></p>
<ul>
<li>2007.05.16寫了第一封申訴信 ==&gt; 當天收到回信，依然判定有無效點擊的事實。</li>
<li>2007.05.19寫了第二封申訴信 ==&gt; 至今尚未收到回信</li>
<li>2007.05.24寫了第三封申訴信 ==&gt; 至今尚未收到回信</li>
<li>2007.05.29預計今天寫第四封申訴信</li>
</ul>
<p><strong>接著是關於虛擬主機的部份，目前已經搬家到Bluehost了，不曉得各位有沒有覺得連線速度比較快?? 筆者整理了一下從Dreamhost搬到Bluehost的過程，提供給有需要的朋友做個參考，這部份相當感謝<a target="_blank" href="http://www.pala88.com/">啪啦站長tomsun</a>的指導，讓筆者省了不少時間 ^^。</strong></p>
<p><span id="more-304"></span></p>
<p>2007.05.27購買新的虛擬主機：<a target="_blank" href="http://www.bluehost.com/">Bluehost</a>，用PayPal付了年費95.4美金後(每月7.95美金)，馬上就可以進入Bluehost後台囉~ <a target="_blank" href="http://www.bluehost.com/tell_me_more.html">Bluehost的規格</a>也很不錯，有<font color="#ff0000">300GB</font>的硬碟空間、<font color="#ff0000">每月3000GB</font>的流量、50個MySQL資料庫、1000個FTP帳號、不限制子網域數量、後台採用<font color="#ff0000">cPanel</font>，最重要的是，聽說當網站使用的CPU Time超過限制的話，會顯示含有相關訊息的頁面，然後過幾分鐘後，當CPU Time也降低時，就會恢復正常了。但筆者還沒真的遇到~ 之後再分享相關經驗 (最好是不是再遇到啦 &gt;&lt;&#8221;)</p>
<p>接著轉移部落格(WordPress)的步驟如下：</p>
<ul>
<li>到Bluehost後台新增一個FTP帳號</li>
<li>到Bluehost後台新增一個MySQL資料庫</li>
<li>修改WordPress的wp-config.php之設定：<br />
[php]<br />
define(&#8216;DB_NAME&#8217;, &#8216;資料庫名稱&#8217;); <br />
define(&#8216;DB_USER&#8217;, &#8216;MySQL使用者名稱&#8217;);<br />
define(&#8216;DB_PASSWORD&#8217;, &#8216;MySQL使用者密碼&#8217;);<br />
define(&#8216;DB_HOST&#8217;, &#8216;localhost&#8217;);<br />
[/php]</li>
<li>透過FTP(Bluehost後台中所顯示的IP, port:21)把備份的網站檔案(含剛剛修改過後的wp-config.php)上傳到Bluehost空間</li>
<li>透過Bluehost後台提供的phpmyadmin，匯入備份的MySQL</li>
<li>到之前的虛擬主機(Dreamshot)後台更改域名的DNS，Bluehost<a target="_blank" href="http://www.bluehost.com/transfer_help.html">提供兩組DNS</a>，分別為：<br />
NS1.BLUEHOST.COM<br />
NS2.BLUEHOST.COM。</li>
</ul>
<p>更改DNS後，需要等待24-48小時，這段時間內，訪客可能會連到架在之前的虛擬主機(Dreamhost)的部落格，也可能會連到架在新的虛擬主機(Bluehost)的部落格，而為了避免兩邊部落格都有訪客留言，導致資料庫不同步，筆者是用比較簡單的方法，在轉移部落格的這段期間，於舊的部落格上放置提醒注意的字眼，請訪客不要留言。</p>
<p>另外，筆者使用Bluehost搭配WordPress，有遇到發送UTF-8編碼的郵件亂碼問題，導致訪客訂閱評論後所收到的信件之標題與內文都是亂碼，不過，這個問題已經有人解決囉~ 請參閱<a target="_blank" href="http://www.storyday.com/html/y2007/855_i18n-with-bluehost-wordpress.html">bluehost的wordpress乱码解决方案</a>。簡言之就是使用my-hacks.php來改寫wordpress的wp_mail()，使其發送的郵件是採用<strong>base64</strong>編碼格式，如此一來就可以顯示中文了~ 該文章的作者有提供一個修改好的my_hack.php(<a href="http://www.sharecool.org/wp-content/upload/2007/05/my-hacks.zip">本站備份</a>)，大家可以<a target="_blank" href="http://www.storyday.com/html/y2007/855_i18n-with-bluehost-wordpress.html">前往</a>下載該檔案或是直接下載本站的備份檔。 (記得要啟用使用my-hacks.php的選項，啟用位置: &#8220;Optons&#8221;-&gt;&#8221;Miscellaneous&#8221;-&gt;勾選&#8221;Use legacy my-hacks.php file support&#8221;)</p>
<p>轉移到Bluhost之後，筆者感覺連線速度有比之前在Dreamhost的時候來的快，還蠻不錯的~ 但是Bluehost的客服回信速度就比Dreamhost來的慢了~ 此外，Bluehost的後台是使用cPanel，跟我之前所使用的Dreamhost自製介面有蠻大的差異，花了點時間去摸索之後~ 感覺Bluehost所提供的服務還蠻周詳的~ 簡單介紹一下三項比較常用的工具：</p>
<p>1. Stats/Logs中的Web/FTP Stats，提供了很多實用的工具，像是：</p>
<ul>
<li>Analog, Awstats與Webalizer三種流量分析工具</li>
<li>Subdomain Stats：觀看子網域的統計資料</li>
<li>Latest Vistors：觀看最近300名訪客的IP與相關資訊 (例如：Http回應碼、所使用的瀏覽器、所造成的流量(Bytes), 是從哪個頁面所連來的? 等等&#8230;)</li>
<li>Bandwidth： 即時流量監測(包含http, pop, imap, ftp, smtp與all)</li>
<li>Error log： MAIN error、SUEXEC error、PHP error</li>
</ul>
<p>2. System Tools的Backups，提供了很完善的網站備份工具，可以用來備份網站資料、MySQL資料庫與E-mail。</p>
<p>3. Web Server Config的Password  Protect Directories，可以用來設定網站中的某個目錄之密碼保護機制。</p>
<p>最後呢，如果有使用上的問題，可以先到<a target="_blank" href="http://www.bluehostforum.com/">Bluehost的討論區</a>的<a target="_blank" href="http://www.bluehostforum.com/forumdisplay.php?f=2">General Questions</a>版面找答案或是發問，如果都沒有的話再問客服。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sharecool.org/archives/304/feed</wfw:commentRss>
		<slash:comments>26</slash:comments>
		</item>
	</channel>
</rss>
