LunarPages购买过程图解(支持国内银行卡付款)

————————————————————————————————————————–
相关内容
网站地址:LunarPages.COM
lunarpages 介绍
————————————————————————————————————————–

1。进入LunarPages网站购买。点击Hosting Plans进入主机方案页面,选择你需要的方案开始购买。本文以Basic Hosting方案为例来进行说明。如下图所示,点击对应方案的Sign Up Now开始购买

Lunarpages购买图解

Basic方案是linux操作系统,不支持ASP ASP.net,如果您需要运行ASP ASP.net程序,需要选择Windows主机方案,如下图所示选择Windows方案
注:Basic方案中有增加ASP一项,只是简单的ASP支持,并不支持数据库,不适合大部分ASP程序运行

然后出现下面三幅图所示的信息填写页面,需要分别填写联系信息,域名,付款周期,附加服务。按照下面三个图的提示填写即可。
coupon中填入优惠码,可以获得很多优惠: 继续阅读LunarPages购买过程图解(支持国内银行卡付款)

LunarPages主机升级Zend Optimizer方法

如果需要最新版本的Zend Optimizer可以使用如下方法升级到高版本

1.到http://www.zend.com/downloads 下载zend optimizer的最新版本

2.解压缩下载的文件,你会找到一个名字为data的文件夹。把文件夹的名字修改为比较特殊的名字,例如zendopt(在下面的文章中我们将用这个名字作为例子)

3。上传zendopt文件夹(就是原来的data文件夹,这个名字是自己修改的,修改为什么名字就使用什么)到public_html目录。

4。在public_html目录下的.htaccess文件中中增加:
suPHP_ConfigPath /home/user/public_html
其中user就是你在lunarpages的主机帐户的用户名

5。在php.ini文件中添加下列语句,如果没有php.ini可以自己建立:

[Zend]
zend_optimizer.optimization_level=15
zend_extension=/home/USERNAME/public_html/zendopt/4_4_x_comp/ZendOptimizer.so
zend_extension_ts=/home/USERNAME/public_html/zendopt/4_4_x_comp/TS/ZendOptimizer.so

注意:用你的cpanel用户名替换上面的USERNAME
用你所在的服务器的PHP版本替换4_4_x_comp
Zendopt文件夹包含很多文件夹例如4_4_x_comp, 5_1_x_comp, 和 5_2_x_comp,选择一个和你的服务器使用的PHP版本最接近的。

6.确认zend optimizer是否升级成功.建立一个php文件,文件内容:
< ? echo phpinfo(); ?>
然后再浏览器中访问这个文件就能看到配置信息.

LunarPages控制面板说明

LunarPages控制面板使用Cpanel,可以通过如下地址登陆:
http://www.yourname.com/cpanel
http://www.yourname.com:2082
其中yourname.com换为你的域名即可,例如www.lunarpagescn.com:2082
会弹出登陆框,输入用户名,密码以后确认即可
还可以通过LunarPages主页登陆,在首页右上角输入用户名密码然后点击login,进入以后点击Control Panel,然后点击go to cPanel进入控制面板。
下面说明控制面板中每一部分的功能,具体的常用操作以后文章中逐渐给出。
控制面板分三部分,左侧上半部分显示主机帐户基本信息:

左侧下半部分显示服务器基本信息,包括Apache,PHP版本:

右侧是控制面板的主要部分,基本的操作都要在这里完成,每部分的功能如下面两图的注释:

LunarPages主机.htaccess文件格式

因为LunarPages使用suPHP,所以在.htaccess文件中不能包含以”php_value”和 “php_flag”开头的语句,如果.htaccess文件中有这样的语句,需要将他们移到php.ini文件中,并在.htaccess中增加以下语句:

suPHP_ConfigPath /home/username/public_html

其中username是你在lunarpages的主机帐户的用户名

php.ini文件中语句格式和 .htaccess中格式不同,php.ini中的格式如下:

setting_name = setting_value

例如 .htaccess中的语句

php_value register_globals 0

移动到php.ini文件中应该写作:

register_globals = Off

php.ini文件一般放在public_html路径下,他的设置对帐户下所有网站都生效.如果只是想修改某个添加的域名对应网站的设置,只需要在该域名的根目录下新建php.ini文件,添加需要语句即可,同时需要在该目录 .htaccess文件中添加:

suPHP_ConfigPath /home/username/public_html/subcategory

最后的subcategory换成你的域名对应的文件夹名称.

LunarPages美国主机常见问题

一. 购买

1.Lunarpages有优惠卷么?

有,请参考:
http://www.lunarpagescn.com/coupon/lunarpages_coupon/

2.Lunarpages支持哪些付款方式,可否用国内银行卡付款?

请参考:http://www.lunarpagescn.com/faq/lunarpages_payment/

3.lunarpages如何退款?

30天内可以退款,退款过程请参考:http://www.lunarpagescn.com/purchase/lunarpages_refund/

4.我看不懂英文,如何购买?

请参考我们为您准备的购买图解教程:http://www.lunarpagescn.com/purchase/purchare/

二.使用

1.我在使用中遇到问题,如何联系lunarpages获取帮助?< /font>请参考:LunarPages获得官方帮助途径

2.

LunarPages获得官方帮助途径

1. 电话支持
1-877-586-2772 美国,加拿大
0800-072-9150 英国
714-521-8150 国际客户

电话支持 周一到周五 上午7点到下午5点 周六,周日上午8点到下午5点

2. 邮件支持

技术支持 support@lunarpages.com
销售: sales@lunarpages.com
财务: billing@lunarpages.com

邮件支持全天24小时

3. Ticket支持
提交地址: https://desk.lunarpages.com/newticket.php

需要填写表格内容如下:
Brief title for your question 标题,最好大概描述问题的要点
Your email address 你的email地址,有回复会发信通知你,确保正确
Please categorize your question 选择提交的问题分类 support技术 password issues 密码相关问题 sales销售 billing财务
Please prioritize your question 选择问题的优先级 从上到下重要度增加,low最低.重要的问题,例如网站不能访问选择最高优先级.
Primary Domain 主机帐户的主域名,就是购买时的域名
Alternate Email 备用Email
User Name 用户名
Phone 电话,可以不写
Server所在服务器,知道就写,不知道就不写
Security Code 安全码,信用卡末4位或者是你密码的第一位第二位和最后一位.如果需要更改帐户或信息需要填写这个,否则可以不写
Plan 选择你的主机方案
Your Question 输入你要提交的问题
写完以后点击submit question就可以提交问题了.提交以后系统会给你发一封确认邮件,你的问题有回复以后系统还会发邮件通知你.

如果英文不好,可以将你需要提交的问题描述清楚,最好是用中文写好要提交的问题,然后发到本站合作论坛的英文翻译专版http://bbs.idcspy.org/forum-52-1.html,我们会帮你翻译.收到解答以后也可以发到这个版让我们帮助翻译为中文,发之前请将敏感信息清除掉,例如密码之类的.
请务必用中文描述清楚问题,此版负责人只负责翻译,对虚拟主机方面问题并不是很熟悉.

4.论坛支持

论坛地址: http://www.lunarforums.com/

LunarPages中实现gzip压缩输出(将ShopEx Gzip压缩传输!)

启用gzip可以将文件压缩到原来的约1/4,也就是速度可以提高到原来的4倍,使用流量将减少到原来的1/4。弄了一个纯文本的html测试,原文件1.6M,竟然压缩掉99%!可见gzip的优势。

这里介绍如何在LunarPages中为网站程序启用gzip压缩,不需要程序的支持,可以为所有的php及html启用gzip压缩。当然,如果你使用 的是本身可以启用gzip的程序,例如discuz,wordpress等等,只需要在程序后台启用即可,就不需要这么麻烦了。如果你使用的是像 ShopEx这样的没有gzip功能的程序可以使用此方法,可以极大的提高访问速度(ShopEx最大的缺点就是速度慢).启用gzip会轻微加重服务器资源消耗,给html启用gzip,则html文件需要经过php引擎编译,会加重服务器负担。

首先给所有的php文件启用gip压缩:

在php.ini中添加下面语句

[Copy to clipboard] [ ]

CODE:

output_buffering = Off
output_handler =
zlib.output_compression = On
这样就可以给所有php文件进行gzip压缩了。注意的是,这样启用gzip之后需要将程序原来的gzip功能去掉,例如discuz等的gzip不要启用,否则程序会报错。

下面为html页面启用gzip压缩,我们要做的就是让apache将html文件当作php文件处理即可。在.htaccess文件中加入下面的语句即可:

[Copy to clipboard] [ ]

CODE:

AddHandler x-httpd-php .html .htm

这样就可以为html文件htm文件启用gzip压缩了。

目前只测试了在lunarpages的suPHP中此方法有效,其他主机试过之后再公布。

这个是启用gzip以后的Shopex:http://shopex.lunarpagescn.com

如果给所有网站启用gzip,修改public_html文件夹下的php.ini及.htaccess,如果只想将其应用在某个域名,修改对应目录的php.ini及.htaccess

LunarPages 开通信翻译

—————————————————————————————-

推荐阅读:

LunarPages购买过程图解

http://bbs.idcspy.org/thread-2263-1-1.html

优惠券 percent26 优惠购买总金额的26% 28OFF 优惠28美元

—————————————————————————————-

信件内容很长,只翻译和使用密切相关的部分。

帐户信息部分

Account Information

This gives information on how to access and maintain your account. We highly recommend changing your password periodically to maintain security.

Domain: lunarpagescn.com 域名,你购买的时候填写的域名,你的主域名

Username: lgnar69 用户名

Password: k39q63r10 密码

Server: asrist 服务器名

帐户帮助信息

Account Assistance

Lunarpages has many tools for our customers to assist them with their website. Please see the following:

Telephone support is open Monday through Friday, 7:00 am . 5:00 pm PST/PDT and Saturday and Sunday, 8:00 am . 5:00 pm PST/PDT. Please note that the billing department is open Monday through Friday, 7:00 am . 5:00 pm PST/PDT.

查看网站

View Your Website

Please note that until you upload your information you will see an empty directory.

You should upload all files into the public_html directory of your file manager. Please also see FTP Instructions for more details.

将所有的网站文件上传到public_html 目录,public_html 是网站根目录

If you are purchasing a new domain or changing nameservers on an existing domain, it can take up to 72 hours for the domain to propagate fully. During this time you may not be able to view your site or receive email. For your convenience, we have provided a temporary URL until this is complete (Please note that this URL will not be able to display PHP, ASP, or JSP pages):

http://asrist.lunarservers.com/~lunar54/

在域名没有生效以前可以使用上面的零时地址访问网站

Once propagation is complete you may view your site at the following email links:

生效以后就可以使用下面的地址访问网站

http://lunarpagescn.com

or

http://www.lunarpagescn.com

控制面板

Lunarpages Administration Panel

Lunarpages uses CPanel, an easy to use customer account interface.

The administration panel lets you manage your entire website, modify and setup account features and much more.

Instruction Manual: http://www.lunarpages.com/new_manual/index.html

使用说明书 http://www.lunarpages.com/new_manual/index.html

Helpful Tutorials: http://www.lunarpages.com/tutorials/index.htm

帮助指南 http://www.lunarpages.com/tutorials/index.htm

Access Your Control Panel: http://www.lunarpages.com/login.php

登陆控制面板地址:http://www.lunarpages.com/login.php

邮件说明

Email Instructions

Your new account offers POP3, IMAP and SMTP access.

POP3 Mail Host: lunarpagescn.com POP3地址:lunarpagescn.com
SMTP Mail Host: lunarpagescn.com SMTP地址: lunarpagescn.com
Webmail Interface: http://lunarpagescn.com/webmail

web邮件地址http://lunarpagescn.com/webmail

Outlook Express E-Mail Setup Help: http://www.lunarpages.com/tutorials/tutorial_files/email_OE.htm

Outlook Express设置帮助:http://www.lunarpages.com/tutorials/tutorial_files/email_OE.htm

Outlook 2002 E-Mail Setup Help: http://www.lunarpages.com/tutorials/tutorial_files/email_outlook2002.htm

Outlook 2002 设置 http://www.lunarpages.com/tutorials/tutorial_files/email_outlook2002.htm

Netscape E-Mail Setup Help: http://www.lunarpages.com/tutorials/tutorial_files/email_netscape.htm

Netscape设置http://www.lunarpages.com/tutorials/tutorial_files/email_netscape.htm

Web Based E-Mail: http://www.lunarpages.com/tutorials/tutorial_files/cpanel_xv2_webmail.htm

网页邮件使用:http://www.lunarpages.com/tutorials/tutorial_files/cpanel_xv2_webmail.htm

How To Create New E-Mail Accounts: http://www.lunarpages.com/tutorials/tutorial_files/cpanel_xv2_POP.htm

如何建立新的邮件帐户:http://www.lunarpages.com/tutorials/tutorial_files/cpanel_xv2_POP.htm

Please note that SMTP authentication must be set.

FTP说明

FTP Instructions

You can begin uploading your files immediately.

FTP host address: ftp://asrist.lunarservers.com/ (this can be used until propagation is complete) Or lunarpagescn.com (this can be used once propagation is complete) Critical Note:
In order for your pages to be viewed on the internet, they must be uploaded into the public_html folder. Please also note file names are case sensitive on a Linux server. Your first page on your account should be named “index.html”.

WsFTP Setup Help: http://www.lunarpages.com/tutorials/tutorial_files/ws_ftp_configuresite.htm

CuteFTP Setup Help: http://www.lunarpages.com/tutorials/tutorial_files/cuteftp_configure.htm

SmartFTP Setup Help: http://www.lunarpages.com/tutorials/tutorial_files/smartftp_configuresite.htm

* You understand and agree that shared server space is for business and personal website operations only hosted by Lunarpages and not for unrelated data storage.

FTP地址可以使用域名(要等解析生效以后)或者是IP,主账户的用户名和密码和帐户信息部分部分的帐号和密码一致。所有网站文件应该上传到public_html目录及其子目录下。linux系统区分文件大小写,注意文件的大小写。

域名说明

Domain Name Instructions

Critical Note

In order to use your own domain name at Lunarpages you must change the name servers to the following:

ns1.lunarservers.com
ns2.lunarservers.com

解析服务器地址:

ns1.lunarservers.com
ns2.lunarservers.com

If your registrar requires the IP addresses:

ns1.lunarservers.com: 209.200.238.4
ns2.lunarservers.com: 209.200.237.4

Tutorial on How To Change DNS Servers:
http://www.lunarpages.com/tutorials/all_registrars.htm

修改DNS服务器的指导

http://www.lunarpages.com/tutorials/all_registrars.htm

You must visit your registrar (the website where you purchased your domain) to complete this action.

NOTE: You must allow up to 72 hours from the time you change your domain name servers for the domain to work. It takes all registrars this long for your domain changes to reach all the world’s servers.

If you purchased your domain from Lunarpages, it has already been done!

如果你的域名是在lunarpages注册的,那么这一切都是做好的,等域名生效就可以使用了。

Anonymous Domain

After registering a new domain, your personal information is readily available on the Internet via a whois search (whois.com). To ensure your anonymity, Lunarpages has Anonymous Domain Registration available. For more information, please contact sales@lunarpages.com.

高级选项

Advanced Options

Lunarpages has the capacity to support several scripting languages including PHP4 and PERL5

Path to Perl 5: /usr/bin/perl

Perl 5路径:/usr/bin/perl
Path to your HOME directory: /home/USER/public_html/

网站根目录的真实路径:/home/USER/public_html/

Path to your CGI-BIN directory: /home/USER/public_html/cgi-bin

CGI-BIN 目录:/home/USER/public_html/cgi-bin

PHP4 scripts will run from any directory in your site (once DNS propogation is complete, within 72 hours of signup).

All other script documentation, including how to use MySQL, can be found in your Lunarpages Administration Panel.