美国主机资讯

全面介绍美国主机信息 最新优惠码 购买图解 使用指导 代购

Archive for the 'LunarPages主机' Category...

Filed under LunarPages主机
优惠购买地址:  LunarPages.com

优惠码: Laborday08   

 优惠50%  3.47美金/月

评论 (0) Posted by admin on 星期六, 八月 30th, 2008

Filed under LunarPages主机

最近国外主机被封的IP很多,LunarPages也不例外,现提供一个免费更换服务器的方法,不过还是强烈建议大家购买独立IP.

1. 登陆用你的帐户登陆http://support.lunarpages.com,如果没有,先注册一个,提交个ticket告诉他们你的站点不能访问了,IP可能被GFW封了,一定要同时付上tracert的记录(电脑的开始 → 运行 → CMD → 输入命令tracert 你的IP)并提供给他们你的密码的第一位和最后一位,详细的邮政地址(包括街道地址,市,省,国家,邮编,要和你写在lunarpages主机账户里面的信息一致,记不清的可以登陆查看一下),电话号码。

可以参考下这个例子提交:

引用:

Hello there,
       My site’s ip address has been blocked by China Firewall, could you help me to move another server? Thank you.
Tracing route to mydomain.com [67.210.98.215]
over a maximum of 30 hops:
1 14 ms 13 ms 14 ms 60.168.64.1
2 12 ms 13 ms 13 ms 61.190.228.89
3 11 ms 13 ms 12 ms 61.190.195.153
4 13 ms 12 ms 13 ms 61.190.246.153
5 13 ms 14 ms 15 ms 118.84.1.13
6 15 ms 15 ms 14 ms 202.97.18.225
7 33 ms 23 ms 26 ms 202.97.39.177
8 22 ms 22 ms 21 ms 202.97.44.58
9 * * * Request timed out.
10 * * * Request timed out.
11 * * * Request timed out.
12 * * * Request timed out.
13 * * * Request timed out.
14 * * * Request timed out.
15 * * * Request timed out.
16 * * * Request timed out.
17 * * * Request timed out.
18 * * * Request timed out.
19 * * * Request timed out.
20 * * * Request timed out.
21 * * * Request timed out.
22 * * * Request timed out.
23 * * * Request timed out.
24 * * * Request timed out.
25 * * * Request timed out.
26 * * * Request timed out.
27 * * * Request timed out.
28 * * * Request timed out.
29 * * * Request timed out.
30 * * * Request timed out.
Trace complete.

These are my information:
The first and the last letter of my password are a and b.   将a换位密码的首字母,b换为密码的最后一位。
My Post Address: 写你的地址,务必和账户信息里面一致
My Phone Number: 写上你的电话,务必和账户信息里面一致

把上面的中文注释替换为你自己的信息通过ticket提交即可

2.然后他们会回复大致如下的内容

引用:

Hello,

It appears your site and our server IP may be blocked by the Firewall of China.

Here are options that we can suggest to resolve this issue:

Server move - We can offer a one time move to another server at no charge, that currently isn’t blocked, however there is always a possibility of the server becoming blocked again.

Get a VPS account - VPS accounts have fewer accounts on each server so the likelihood of the server becoming blocked is less

http://www.lunarpages.com/virtual-private-server/

Get a Dedicated Server - On this plan, you are the ONLY account on the server, so if you are being blocked, then it is because the nature of content that you are posting

http://www.lpdedicated.com/

If you opt to take our offer on the server move please provide us with the following to avoid delay:

A tracert to the following servers to be sure you can reach the new server.

eagle.lunarmania.com

beacon.lunarmania.com

dreamer.lunarmania.com

house.lunarmania.com

………….

意思就是说你的IP是被GFW封了,他们可以免费提供一次更换服务器的机会,同时会告诉你几个服务器,让你选择,会提供些服务让你选择(例如,是否需要asp jsp支持等)

你tracert下你想要的服务器,同时把结果发给他们,再告诉他们你不需要任何额外服务

内容可以参考这个

引用:

Hello,
Thank you for your reply, I want to move my account to the server :house.lunarmania.com. I do not need ASP JSP and others.
Tracing route to house.lunarmania.com [67.210.111.25]
over a maximum of 30 hops:
1 14 ms 14 ms 13 ms 60.168.64.1
2 13 ms 12 ms 13 ms 61.190.228.89
3 14 ms 12 ms 13 ms 61.190.194.149
4 13 ms 18 ms 11 ms 61.190.246.21
5 13 ms 13 ms 13 ms 118.84.1.1
6 21 ms 21 ms 21 ms 202.97.39.177
7 20 ms 22 ms 21 ms 202.97.33.242
8 208 ms 206 ms 207 ms 202.97.51.78
9 215 ms 213 ms 212 ms 64.132.69.105
10 228 ms 227 ms 227 ms 207-114-214-170.static.twtelecom.net [207.114.21
4.170]
11 228 ms 229 ms 227 ms 207-114-214-170.static.twtelecom.net [207.114.21
4.170]
12 222 ms 221 ms 221 ms ge0501-csr2.rvs1.marquisnet.com [208.110.168.10]
13 222 ms 221 ms 221 ms unused-future-customer-ip.marquisnet.com [208.11
0.171.26]
14 221 ms 224 ms 221 ms house.lunarmania.com [67.210.111.25]
Trace complete.

These are my information:
The first and the last letter of my password are a and b.   将a换位密码的首字母,b换为密码的最后一位。
My Post Address: 写你的地址,务必和账户信息里面一致
My Phone Number: 写上你的电话,务必和账户信息里面一致

3.然后他们会告诉你  他们会尽快给你转移, 转移成功会有邮件通知
如果收到这样的邮件,即表示OK了

引用:

Hello,

I have transferred your account xxxx to our house server, which is using Nameservers: NS1.LUNARMANIA.COM and NS2.LUNARMANIA.COM.

All the files were moved and your site suffered no downtime as a result.

Your critical account info with your new server details has also been resent to xxxxxx@gmail.com. Please upload any new files to house from now on. If you are currently using lasa.lunarpages.com as your POP3/SMTP servers, change it to your domain name to prevent any issues with your email.

Your account will be deleted off the lasa server in 72 hours.

Thanks.

评论 (0) Posted by admin on 星期二, 六月 24th, 2008

Filed under LunarPages主机

 网站地址: LunarPages.Com

LunarPages虚拟主机basic方案目前已升级至1500G硬盘空间 15000G月流量,其他参数不变.

正如他们所说,是世界上目前提供最大硬盘空间,和最大月流量的虚拟主机商.

评论 (0) Posted by admin on 星期四, 一月 3rd, 2008

Filed under LunarPages主机

LunarPages空间在网站目录没有首页文件的情况下会把该目录下的所有目录及文件列出来,这挺不好,像把自己的隐私暴露出来一样,而且会降低网站的安全程度,因为一些重要的文件可能暴露而被下载。可以用以下两个办法解决这个问题:

1。进入cpanel,Password Protect Directories设置密码保护。

2。也可以用以下的方法解决:

1):在每个目录下建一个空白的默认首页文件,例如index.html之类,不过这也太麻烦了,如果目录多那会累死人;
2):在根目录下建一个.htaccess文件,添加内容:Options -Indexes,此方法简单,效果也很好,你再访问目录的时候就会显示:You don’t have permission to access /目录/ on this server

评论 (0) Posted by admin on 星期天, 十二月 16th, 2007

Filed under LunarPages主机

优惠卷:Xmas30

网站地址:Lunarpages.com

此优惠卷适用于12个月或24个月。立即节省30美金。

评论 (0) Posted by admin on 星期五, 十二月 7th, 2007

Filed under LunarPages主机
代码:

RewriteEngine onRewriteBase /

RewriteRule ^archiver/([a-z0-9\-]+\.html)$ archiver/index.php?$1

RewriteRule ^forum-([0-9]+)-([0-9]+)\.html$ forumdisplay.php?fid=$1&page=$2

RewriteRule ^thread-([0-9]+)-([0-9]+)-([0-9]+)\.html$ viewthread.php?tid=$1&extra=page\%3D$4&page=$2

RewriteRule ^profile-(username|uid)-(.*)\.html$ viewpro.php?$1=$2

其中 “RewriteBase /”是论坛路径,如果你的论坛在/bbs那么只要更改为”RewriteBase /bbs”即可。

评论 (0) Posted by admin on 星期三, 十月 17th, 2007

Filed under LunarPages主机

很多人说我们的网站快,但是自己买的空间却总觉得慢,空间的随机因素是一方面,还有很多都是因为网站优化不好造成的,建议大家从以下几个方面着手优化一下网站.

1. 启用gzip压缩
看了很多会员发上来的Discuz论坛都没有启用gzip压缩,可能是很多人都不知道还有一个这样的功能,既然空间和程序都支持,为何不充分利用呢.启用Gzip以后速度基本会快4-5倍左右,会明显感觉到快很多.下面说一下主要的几个程序以及其他情况下如何启用Gzip.

在Discuz中启用Gzip
登陆后台管理,选择基本设置-->服务器优化 找到页面 Gzip 压缩,选中是然后提交即可.

在WordPress中启用Gzip:
登陆管理后台,进入 Options-->Reading,在最下面有一个选项WordPress should compress articles (gzip) if browsers ask for them,钩上然后点击Update Options更新即可.

2. 图片大小

在速度一定的条件下,页面越大,打开越慢,所以一定要优化图片大小,尤其是首页,最好不要放大图片.很多图片可以用一些优化程序无损压缩,图片质量影响不大,大小减小很多.其实很多情况下,由于浏览器分辨率的限制,损失一些图片质量区别也不大的.当时见过一个做网店的,使用shopex,程序本身优化就不好,他把数码相机拍完的商品照片就直接放上去了,一个几M,打开不慢才怪.实际在浏览器中,一个分比率几千X几千的和一个800X600的商品照片区别不大,但是大小相差很多,后者可能只有几千K甚至几十K。
优化图片可以使用PS,或者有专门无损压缩GIF的软件。

3。模版插件问题

这个对于discuz论坛的影响比较严重,模版不符合标准,错误多,优化不好,一方面影响速度,另外一方面还可能占用过多的资源。
还有论坛的各种插件,尤其是娱乐类插件,一定要慎用。这些插件一般都会牺牲网站速度,增加占用资源。

评论 (0) Posted by admin on 星期三, 九月 26th, 2007

Filed under LunarPages主机

LunarPages空间在网站目录没有首页文件的情况下会把该目录下的所有目录及文件列出来,这挺不好,像把自己的隐私暴露出来一样,而且会降低网站的安全程度,因为一些重要的文件可能暴露而被下载。

如何解决这一问题呢?
方法一:在每个目录下建一个空白的默认首页文件,例如index.html之类,不过这也太麻烦了,如果目录多那会累死人;
方法二:在根目录下建一个.htaccess文件,添加内容:Options -Indexes,搞定,虽然简单,但效果挺好,你再访问目录的时候就会显示:You don’t have permission to access /目录/ on this server.

暂知道这两种,各位朋友如果有更多的方法请留言。

其他支持CP的空间应该都可以这么做,像DreamHost,BlueHost,HostMonster等,大家不妨可以试试。

评论 (0) Posted by admin on 星期六, 九月 22nd, 2007

Filed under LunarPages主机

启用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中添加下面语句

复制内容到剪贴板

代码:

output_buffering = Off
output_handler =
zlib.output_compression = On

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

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

复制内容到剪贴板

代码:

AddHandler x-httpd-php .html .htm

评论 (0) Posted by admin on 星期五, 八月 10th, 2007

Filed under LunarPages主机

首先从http://www.lunarpages.com输入你的帐号和密码登陆。

你会看到“Change password”

点击即可修改密码。FTP密码一样。

2007-9-9 19:14

评论 (0) Posted by admin on 星期一, 六月 25th, 2007