Posts Tagged ‘godaddy’

把域名从国内迁出到godaddy

星期二, 12月 29th, 2009

其实这不应该是一件复杂的事情,但却由于种种流言和手续不和国际接轨而变得貌似困难。

上上周寄了复印件和申请表去新网总部。上周收到auth code,然后启动transfer流程。

到今天,终于结束了。

pjoke.com是我注册的第一个域名,还是有点感情的,虽然按照目前的趋势,不过是一个垃圾站而已。

然而其中的数据和代码,都是貌似民工的方式生产的,所以如果有一天因为在国内而失去,还是很可惜的事情。

另外赞扬下godaddy,转移成功后,dns server Name Server直接变成他家的,之前所有设置的a/cname/mx记录都一起复制过来了。

只是合并联系人的时候出了点问题,重新填写一次就好了。

当然新网的效率也很好,挂号信一到他们就处理了,邮件也基本上在一天左右能得到回复。

godaddy的域名删除退款

星期日, 3月 22nd, 2009

昨天一时兴起,在godaddy上又注册了一个typo,并且park到google adsense上,然而没半天就发现原来没有流量,于是萌生退意。

根据网上的一些文章提示的做法:

  1. 登录godaddy
  2. 左栏的Payments & Renewing Items
  3. 选中要删除的域名的receipts,然后点击Cancel Item
  4. 刷新后确认右侧的提示
  5. 然后点Submit a ticket,给客服说明要退款

客服的回信:

We would like to be of assistance. However, the nature of your inquiry is unclear and additional information is necessary in order to properly investigate and address your inquiry.

Please reply to this email with a detailed description of what is happening. Be sure to include the full text of any error messages you may be encountering as well as any account information that you have, including the domain name and customer number in question. In addition, it may be necessary to release account specific information in our response. For security reasons, we cannot release customer specific account information without first verifying the account. If you have not done so already, include the last four digits of a payment method on file or your four-digit Call-in PIN with your reply. Once you have provided this information, we can investigate the matter further.

If immediate assistance is required, our telephone support staff is available 24/7 at 480-505-8877. We look forward to hearing from you.

是说要提供那个Call-in PIN或者支付卡的最后四位。

就给他发了过去。

客服再回信,应该是可以的了:

I issued the refund request it should credit back to your card in 5 to 7 days

再过一会,就能收到系统的确认信:

******************************************************************
 ITEM CANCELLATION CONFIRMATION
******************************************************************

Dear XXXXXX XXXXX,

Per your request, the items listed below have been cancelled
from your account, 1xxxxxxx:

.COM Domain Name Registration - 1 Year: XXXXXXXXX.COM

If you feel this cancellation has occurred in error or you need
further assistance, our support staff is available 24 hours a
day, 7 days a week via:

     + Online Support:
https://www.godaddy.com/gdshop/support.asp?prog_id=GoDaddy&isc=wwbb566
     + Email: support@godaddy.com
     + Phone: (480) 505-8877

Please do not reply to this email. Emails sent to this address
will not be answered.

Thanks again for being a GoDaddy.com, Inc. customer.

Sincerely,
GoDaddy.com, Inc.

-----------------------------------------------------------------
Copyright 2009 GoDaddy.com, Inc.. All rights reserved.

既然Godaddy的退款如此容易的话,那么就不难理解有些职业停放者大量注册域名,经过三四天的停放测试之后,将其中的一些流量低的域名进行退款,不过据说ICANN新规定出来之后,注册后删除不予退款的话,大概可以大大减少这种现象。

隐藏godaddy免费空间的广告条

星期四, 12月 11th, 2008

godaddy为每个在他们那里注册的域名赠送了一个免费的虚拟主机。

这个免费的虚拟主机有每月300G的流量和10G的空间,看上去很美。然而问题是,所有输出的html页面底部都被强加上了godaddy的js。

该js的目的是在页面头部嵌入一个iframe,来显示他们的广告。

<script language='javascript' src='https://a12.alphagodaddy.com/hosting_ads/gd01.js'></script>

打开这个js的源文件就一清二楚了:
function domainCheck(domain, domainExt)
{
	var isType = false;

	for(i = 0; i < domainExt.length; i++)
	{
		re = new RegExp("\\"+domainExt[i]+"$");
		if (domain.match(re))
		{
			isType = true;
			break;
		}
	}	

	return isType;
}

var ref = document.referrer;

if ( ref.length <= 0 )
    ref = window.location;

if(location.protocol == "https:")
{
  var url="https://a12.alphagodaddy.com/?ref=" + ref + "&url=" + window.location + "&leo=0";
} else {
  var url="http://a12.alphagodaddy.com/?ref=" + ref + "&url=" + window.location + "&leo=0";
}

var htmlStr = '<iframe id="conash3D0" frameborder=0 border=0 width="100%" height="115px"
marginwidth=0 marginheight=0 allowtransparency=true vspace=0 hspace=0 scrolling=no
src="' + url + '"></iframe>';

// to include other domain types to be filtered, add it to the list of array items.
var domainExt = new Array(".mobi");

if ( domainCheck(document.domain, domainExt) == false )
{
	if ( document.body.insertAdjacentHTML )
	{
		document.body.insertAdjacentHTML('AfterBegin', htmlStr);
	}
	else
	{
		var r = document.createRange();
		r.setStartBefore(document.body);

		var parsedHTML = r.createContextualFragment(htmlStr);

		document.body.insertBefore(parsedHTML, document.body.firstChild);
	}

	document.body.style.margin = '0px';
	document.body.style.padding = '0px';
}

加入的iframe的id是:conash3D0

我们可以隐藏这个iframe,在站点通用的css文件中加上一句:
#conash3D0 {height:0px; top:-1px;}
作用就是让conash3D0的高度为0px,起始位置在垂直方向的-1px的地方。
测试过可以用:http://www.0483.org/

$1.99的Godaddy的域名

星期六, 10月 25th, 2008

Godaddy.com偶尔(大概隔几个月)会推出$1.99的域名注册价格,虽然每次的持续时间并不长,却是一个很有效的促销手段。优惠码是:199TEST

大多数的域名注册商,除了提供域名注册、域名转入转出服务之外,还集成了一个域名交易系统,包括拍卖、预约等功能,目的就是在管理域名的同时,让这些域名在自己的范围内进行交易,从而赚取交易手续费。

所以,作为注册商,管理的域名越多,这种市场效应就越明显了。
话说回来$1.99的.com域名,折合人民币15元不到,真的是相当的便宜啊。

ps:我帮老婆注册了一个liuling.net,就让她写写博客吧。

用Godaddy安装joomla

星期日, 10月 12th, 2008

一直想在godaddy的deluxe plan(pjoke.com)上安装一个cms系统,由于对cms不了解,所以一直没有执行。

今天点进hosting的管理后台,Content->Go Daddy Hosting Connection

出来的页面有如下的网站软件分类:

  • Administration Tools
  • Advertising
  • Blogs
  • Content Management
  • Content Providerse
  • Commerce Solutions
  • Galleries
  • Message Boards/Forums
  • Other
  • Project Management
  • Tools/Scripts
  • Website Add-Ons
  • Wikis

无论这个列表,还是目录下的软件列表,都是按照首字母顺序来排列的。我在Content Management目录下:
  • anyInventory
  • Community Server
  • DotNetNuke
  • Drupal
  • Joomla
  • Mambo
  • MODx
  • Moodle
  • Nucleus
  • PostNuke
  • SilverStripe
  • Xoops
其中Community Server是收费的,前面有个$图片。后面的图片代表这些软件运行在Windows平台还是Linux平台。
看了一下reviews,我选择了Joomla。
进入了Joomla的介绍页面,然后点INSTALL NOW!
接下来,是选择哪个主机上停靠的域名,然后输入数据库描述和密码(数据库名称已经自动生成了)。
选择安装的目录。
确定安装之后,在5分钟内就装好了。
然后就可以访问了。Pjoke’s Flex
因为我实际上并不是使用这个目录作为访问路径,而是使用pjoke.com的二级域名flex.pjoke.com作为Joomla的域名。
在设置url重写的时候碰到些麻烦,将htaccess.txt改名.htaccess,并在后台打开了重写,发现500内部错误。
看了一下.htaccess,里面注明如果要用自定义路径,则要把
#RewriteBase /
前面的#注释去掉,并设成目的路径,因为是二级域名的根目录,所以用/就行了。

Godaddy上的cron

星期六, 9月 20th, 2008

cron是Linux系统中周期性执行任务的进程,类似于windows系统中的计划任务。

在Godaddy的hosting管理中也有cron manager,用户可以在其中加入需要周期运行的程序。

下面说说怎么在godaddy中添加cron任务:

1.登录到后台,点击相应的hosting的Manage Account。

2.在Content里选择Cron Manager

选择Cron Manager

选择Cron Manager

3.进入如下的界面,点击Create Cron Job

Cron Manager界面

Cron Manager界面

4.界面如下,填上Cron Job Title(计划任务的名称),选择Frequency(频度),分别有Hourly(每小时),Daily(每天),Weekly(每周)和Monthly(每月),选择不同的Frequency,下方的二级选框会相应变化,比如Hourly的话,下面就是选择Minute(分钟)。

Cron Job Setting

Cron Job Setting

5.点Browse…选择需要执行的程序,我这里选择的是php的文件,至于perl,ruby之类的没有试过。

选择文件

选择文件

6.选择回来之后:

设置完成

设置完成

7.点击Save,一会就看到下面Cron Job List有这个Cron Job了,确定它的状态是enable。

Cron Job 列表

Cron Job 列表

8.要修改/禁止/使能/删除某个Cron Job,可以选中Cron List里该Cron Job前面的框,点上面的Edit/Disable/Enable/Delete就行了。

到这里基本就够用了。下面是附加的:

Cron Job设置里面的Custom,可以更详细地定义Cron Job运行的时间:

自定义周期

自定义周期

可以指定运行的月份,日期,星期几,几点钟,分钟等,除了分钟,其他的栏都可以多选(按ctrl再点)。

左边栏里有如下信息:

Email Address:(edit)

Not Set
Output from Cron jobs is sent to this
email address.

点击edit,输入你的email地址,那么Cron Job的输入结果会重定向到一个文件,然后发到这个email里。

还有一点需要注意的是,Cron Job的运行时间是按服务器所在时区计算的,所以中国+8的时间要换算到-7区才行。