close

一個月只花約230元台幣, 租一個有固定IP的不限流量及SSL認證的虛擬主機.

外貿網站的主機選擇: 

 

 

首先主機須要有 提供SSL認證 提供固定IP 費用也是考量之一
https://www.hostwinds.com/hosting/business

hostwind1.JPG

 

hostwinds 提供所有方案固定IP也提供SSL認證, 費用從 3.29到7.99美金一個月.
我們選擇的是7.99美金 Ultimate 的不限量方案.
主機租期選擇最高36個月(之前租過短期的12個月,等到一年要續約時的費用變高了, 而且大部分都提供不滿意退費保證, 所以我們選擇最高租期)
36期還有折扣後的平均月租金7.05元.約台幣 230元.

hostwind-business.JPG

如果是第一次申請最好先上郵局網站先查詢好英文地址.
https://www.post.gov.tw/post/internet/Postal/index.jsp?ID=207

申請過程會先詢問你是否使用自己的 domain name 或是要直接註冊一個.
如果一開始還沒有決定好網址, hostwind 的網址申請費用比較高, 可以到其他比較便宜的申請.
https://tw.godaddy.com/tlds/com-domain

選擇自有的網域就可以繼續購買流程, 線上付款完後, hostwind開通後會寄到一封信到你的信箱.
這封信會告訴你如何登入 hostwind 的主機後台, 同時也會告訴你 name server 的 網址及IP.
將取得的 name server 填寫進去註冊好的 domain name 設置裡面.
選擇主機位置, 這裡建議選擇離亞洲近的 Seattle 西雅圖 

 

hostwind-order-now.JPG

購買時注意上面紅色圈選的地方要記得取消!!

 

 

1. 登入 Cpanel 後右上角可以修改顯示語言.

hostwind-cpanel-language.JPG
2. 新增網域(自己申請的網域名稱, 在這裡新增, 要記得申請好的網域裡面dns 要指定到 hostwind 給你的name server)

hostwind-newdomain.JPG
3. Cpanel 下方就有 APPS Installer 可以快速安裝 Wordpress. 設定好你的管理員帳號 跟網站名稱及說明就可以.

cpanel-wordpress.JPG
4. SSL認證Cpanel自動會設定好, 在 Wordpress 安裝時是不能設定 https, 等wordpress安裝好在系統後台修改網站網址變成 https://開頭.
5. 登入Cpanel 上面的檔案管理員, 到wordpress安裝目錄中設定.htaccess 強迫301轉址使用 https 網站.

cpanel-filemanger.JPG
以下設定會也會把 gzip一起生效 放到 .htaccess 裡面即可.


# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
<IfModule mod_deflate.c>
  # Compress HTML, CSS, JavaScript, Text, XML and fonts
  AddOutputFilterByType DEFLATE application/javascript
  AddOutputFilterByType DEFLATE application/rss+xml
  AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
  AddOutputFilterByType DEFLATE application/x-font
  AddOutputFilterByType DEFLATE application/x-font-opentype
  AddOutputFilterByType DEFLATE application/x-font-otf
  AddOutputFilterByType DEFLATE application/x-font-truetype
  AddOutputFilterByType DEFLATE application/x-font-ttf
  AddOutputFilterByType DEFLATE application/x-javascript
  AddOutputFilterByType DEFLATE application/xhtml+xml
  AddOutputFilterByType DEFLATE application/xml
  AddOutputFilterByType DEFLATE font/opentype
  AddOutputFilterByType DEFLATE font/otf
  AddOutputFilterByType DEFLATE font/ttf
  AddOutputFilterByType DEFLATE image/svg+xml
  AddOutputFilterByType DEFLATE image/x-icon
  AddOutputFilterByType DEFLATE text/css
  AddOutputFilterByType DEFLATE text/html
  AddOutputFilterByType DEFLATE text/javascript
  AddOutputFilterByType DEFLATE text/plain
  AddOutputFilterByType DEFLATE text/xml
  # Remove browser bugs (only needed for really old browsers)
  BrowserMatch ^Mozilla/4 gzip-only-text/html
  BrowserMatch ^Mozilla/4\.0[678] no-gzip
  BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
  Header append Vary User-Agent
</IfModule>

# END WordPress
Options -Indexes


網路廣告投放 行銷

arrow
arrow
    全站熱搜

    奕昇數位印刷技術 發表在 痞客邦 留言(0) 人氣()