Lunarpages主机的LPCP面板登录PHP MyAdmin比较方便
1、首先登陆LPCP控制面板,进入Databases,选择PHP MyAdmin选项

2、弹出一个对话框,提示输入数据库用户名,密码

3、登录进去之后就可以管理你的mysql数据库了
Lunarpage主机的LPCP面板如何添加域名?只需四步就可以轻松搞定
1、登陆LPCP控制面板,找到图标名称为”Addon domains”,点击该图标。或者也可以在左侧侧边栏点击”Addon domains”进入

2、此时你进入了域名管理器,点击页面右上角的”Add new”

3、现在你已经进入了添加域名的页面了,在这里你需要填写以下四项内容,并点击Go:
域名添加好之后,系统会自动为这个域名新建一个FTP账户,可以再左侧侧边栏选择”FTP Accounts” 查看你的FTP账户

4、如果以上信息填写正确,那么恭喜你,你现在应该看到一条提示消息”Addon Domain Added successfully”,说明域名已经成功添加了

Lunarpages主机现在使用的控制面板是自己开发的LPCP面板,较之前使用的cPanel面板功能要简单许多,但不影响正常使用,并且他们的自己的面板也一直在不停的更新中,功能会越来越强大。
购买了Lunarpages主机如何才能登陆LPCP面板呢?
Lunarpages主机商提供了以下四种方式登录LPCP面板:
1、从Lunarpages官网登录
从www.lunarpages.com登录,选择Control Panel,点击Go to LPCP 按钮就可以直接登陆控制面板了
2、使用主域名地址登录
在地址栏中输入:
http://yourdomainname:20081
https://yourdomainname:20082
yourdomainname替换为你的主域名
3、使用服务器地址登录
在地址栏中输入:
http://servername.lunariffic.com:20081
https://servername.lunariffic.com:20082
servername替换为你的服务器名
4、使用独立IP地址登录
在地址栏中输入:https://IP:20082
注意:1、将上面的yourdomain更改为你自己的真实的主域名
2、将上面的server.lunarpages.com更改为你账户所在的服务器地址,这个地址可以在主机开通信里查看到
3、使用HTTPS登录时(https://yourdomain.com:20082)浏览器会提示一个警告,告诉你“它是一个不可信任的连接”,这个消息可以忽略掉。如果你嫌麻烦可以直接使用HTTP登陆(http://yourdomain.com:20082)就不会有这样的提示了
如果登录时出现任何问题导致无法正常登录LPCP面板,请到Lunarpages美国主机 询求帮助
Lunarpages的windows主机ASP.NET可是使用哪种邮件组件收发邮件呢?
Lunarpages的windows主机可以使用CDOSYS组件收发邮件,脚本如下:
Const cdoSendUsingPickup = 1
Const cdoSendUsingPort = 2
Const cdoAnonymous = 0
Const cdoBasic = 1
Const cdoNTLM = 2
Set objMessage = Server.CreateObject("CDO.Message")
objMessage.Subject = "Example CDO Message"
objMessage.Sender = "me@mydomain.com"
objMessage.From = "me@mydomain.com"
objMessage.To = "recipient@test.com"
objMessage.TextBody = "This is some sample message text.." & vbCRLF & "It was sent using SMTP authentication."
'==This section provides the configuration information for the remote SMTP server.
objMessage.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
'Name or IP of Remote SMTP Server
objMessage.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "mail.your.com"
'Type of authentication, NONE, Basic (Base64 encoded), NTLM
objMessage.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = cdoBasic
'Your UserID on the SMTP server
objMessage.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/sendusername") = "youruserid"
'Your password on the SMTP server
objMessage.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "yourpassword"
'Server port (typically 25)
objMessage.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
'Use SSL for the connection (False or True)
objMessage.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/smtpusessl") = False
'Connection Timeout in seconds (the maximum time CDO will try to establish a connection to the SMTP server)
objMessage.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 60
objMessage.Configuration.Fields.Update
objMessage.Send
Lunarpages主机下开启JSP,由于JSP工程项目的目录、文件有规定的结构,所以这里给出了在Lunarpages空间下,jsp文件的目录结构:
public_html是空间的根目录,jsp页面就放在public_html目录下,开启JSP后,系统会在public_html下新建WEB-INF目录,里面包含web.xml文件及lib、classes目录,webapps下存放的是jsp工程文件
LunarPages主机支持404重定向和修改MIME类型,具体方法如下:
1、登录LunarPages主机的Cpanel控制面板,点选“Error Pages”

2、然后选择你要重定的Error Page页面404

3、输入你输入的404 error page HTML网页(里面可以随意设置你要的MIME类型),然后点下“Save”就完成404重定向

你是否遇到这样的情况呢?购买LunarPages Basic Plan的Linux主机方案后,后悔了,想要购买unarpages的支持ASP的那款主机,同时还想留住我的域名,出现这样这样才状况,该如何操作呢,以及费用如何计算?
虽然Lunarpages Basic Plan是Linux主机,但也可以额外购买添加ASP功能的,当然如果你的网站不止需要ASP,而且还会用到MS SQL或ACCESS数据库的话,那就只可以选择Lunarpages Windows Plan了。
如果你要购买Lunarpages Windows Plan, 其实不需要取消你的Lunarpages Basic Plan,只需通知Lunarpages客服说明你要把Basic Plan 转换去 Window Plan 就行了,这样一来, 他们只需把你的网站从Linux 主机迁移到Window主机,同时也将继续保留你的域名,至于费用方面,你只需付这两个主机配套价格之间的差别。
我们帮你写了英文的申请转换要求,你可以做一些修改后使用:
Hi,
I applied a Lunarpages Basic Plan hosting account for my website: XXXX(这里请填写你的网站域名) on date: XX/XX/2009 (这里请填写你的主机申请日期). However, I came to realize that Basic plan is in fact a Linux hosting which do not support ASP .net feature that required by my website. Therefore, I’m writing to request to change my hosting plan from Basic plan to Windows plan. Obviously, I want to keep my origianl domain name intact after the move. Please let me know the additional cost and process involved as well as the date of the moving. Looking forward to your reply. Thank you.
你可以到Lunarpages 客服 或电邮: support@lunarpages.com, 把以上要求通知Lunarpages,他们在收到你的转换主机方案申请邮件后,很可能会要求你提供你的Lunarpages用户名,网站域名和信用卡最后4个数字,主要是在验证你的正式请求后从你的信用卡扣除相关款额。
使用LunarPages主机时,有朋友想要用 “SQLyog” 连接管理mysql数据库,但是却找不到Lunarpages附送的mysql数据库的地址。
虽然可以在 cPanel X里创建了一个数据库及用户,可以使用cPanel X下面的 phpadmin 进入管理数据库,但是,和原来预想在本地使用 sqlyog 来管理远程数据有很大的不同,如何才能查到MySQL数据库的主机名或IP?
基于安全理由,不清楚Lunarpages是否支持高效能的SQLyog远程管理mySQL数据库,无论如何,你可以试试以下的 SQLyog里的设置:
1. 在Host Address里设置你的网站域名和port: 3306就可以了(要连接mysql数据库不需要IP地址)。
2. 链接 mySQL数据库的用户名和密码 (这是你建立mySQL数据库时自行输入的资料, 不是你的CPanel用户名和密码,所以不要搞错)
3. 你需要在 Cpanel 的 mySQL Database里的”Access Host”设置允许你连接互联网的IP地址可以连接你的 mySQL数据库不然无法连接。
如果你连接互联网是动态IP地址,不过在某个国家和区域大致上都在一个连线范围(IP Range),比如说是121.46.00.00 – 121.46.255.255之间,那我建议你输入 121.46.%

试试看是否可以通过SQLyog远程管理mySQL数据库。
购买LunarPages主机时用的cn域名,这个是主域名,这个域名到期不要了,那换个域名做主域名可以吗?
可以的。你只需联系Lunarpages的客服support@lunarpages.com说明你要更改主域名(primary domain name),这个更改主域名的服务是免费的。
你在发给Lunarpages客服的邮件里请提供以下资料:
1、新主域名。如果你是使用自己注册申请的域名,指明是 own registered domain。如果你在购买Lunarpages主机空间时还没有使用Lunarpages提供的 “Free Domain for Life”域名 (.com,.net, .name, .ca, .co.uk, .us, .biz, .info, .org),这时候就可以提出要申请一个 “Free Domain for Life”域名。
2、主机帐户名字,信用卡的最后4个数字(这个资料主要是验证目的)
3、此外也说明要如何处置你的旧主域名,是否要把旧主域名Parked到Lunarpages主机帐户,或把它转换去 Addon Domain。
这里是一封要求更换主域名时,Lunarpages客服回复要求提供什么资料的邮件
Hello,
We can change your primary domain name. Please provide the new domain name.
Is the domain registered? If it isn’t, we can register a new .com,.net, .name, .ca, .co.uk, .us, .biz, .info, or .org domain for you forjust $9.95 per year per domain. If you have not used your Free Domainfor Life offer, there would be no charge. Note that the Free for LifeDomain offer applies to annual plans only.
Next, for security purposes to confirm you are the account holder,please provide your username and the last 4 digits of your credit cardon file with us.
We would also need to know the following before we can proceed with the switch:
Current primary domain – Do you wish us to remove it entirely, park iton the account for you, or have it as an addon on the account (if youwant it to be an addon, we will provide instructions after we switchthe domain for you)?
New primary domain – Is it currently parked on the account or an addonon the account? Has it ever been parked or an addon domain on theaccount? If it’s parked or an addon domain, please remove this from theParked Domains or Addon Domains area of cPanel.
Do you have an SSL certificate on your account, and do you wish the newprimary domain to have the certificate associated with it?
Do you have JSP or ASP activated on the account, and which domain do you want to have associated with the JSP or ASP?
Do you have WebBuilder enabled on the account?
If so, please note that any work you have done in your current webbuilder account will be permanently lost. Please also note, that we nolonger offer the paid Webbuilder option, and would not be able tore-enable it on the new primary domain, and we can arrange to have thiscancelled for you on the account. We do provide a new webbuilder optioncalled Pagemason through ypur CAP panel that is free, easy to manage,and install. If you would like more information about this newwebbuilder option let us know.
Do you have any custom MX records on the account? For which domain and what are they currently set to?
Once we have this information, we would be happy to perform this request for you.
Thank you.
–
Best Regards,
Kathy Webb
Customer Service Representative
Support Forums – http://www.lunarforums.com
Phone: 1-714-521-8150
Phone: 1-714-521-8150 (International)
24 hour Network Status Line: 1-562-697-8106
LunarPages主机购买成功后,有些朋友比较关心主机IP地址的情况,你能会问:
1.我购买Lunarpages(或者其他)的虚拟主机以后,所使用的ip是否是独立的?
只要是虚拟主机,无论是LunarPages,还是其它美国虚拟主机,它们都是共享主机(share hosting),很多网站使用这台主机的资源,既然是很多站使用,那么,你的网站的IP也是共享的,并不是独立的IP、
2.我是否可以改变虚拟主机的ip地址
如以上所解释,共享虚拟主机的IP是不可以随意更改的,不过你还是可以通过额外购买独立IP (dedicated IP)来达到改变你的网站的IP地址。一般的独立IP地址月费大约是美元$2.95。你在额外购买独立IP后,主机商就会自动给你的网站绑定一个独一无二的IP。这时你甚至可以直接通过IP(如:http://202.39.193.190)来浏览你的网站了。(请参考LunarPages购买全攻略)