<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>i Got it &#187; 域名</title>
	<atom:link href="http://by-igotit.com/tag/domain/feed" rel="self" type="application/rss+xml" />
	<link>http://by-igotit.com</link>
	<description>Igotit的个人博客，关注IT，关注互联网，关心生活，写写生活</description>
	<lastBuildDate>Fri, 09 Jul 2010 05:56:54 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<atom:link rel='hub' href='http://by-igotit.com/?pushpress=hub'/>
		<item>
		<title>折腾域名</title>
		<link>http://by-igotit.com/2007/01/configure-domain.html</link>
		<comments>http://by-igotit.com/2007/01/configure-domain.html#comments</comments>
		<pubDate>Fri, 12 Jan 2007 12:27:00 +0000</pubDate>
		<dc:creator>Igotit</dc:creator>
				<category><![CDATA[IT与互联网]]></category>
		<category><![CDATA[互联网]]></category>
		<category><![CDATA[域名]]></category>

		<guid isPermaLink="false">http://rootbeerfans.com/byigotitl32jr8fijk/wordpress/?p=63</guid>
		<description><![CDATA[自从那天为了Google Blogger的Publish on a custom domain买了域名，这两天摆弄域名绑定，实在是把自己搞得无语。
其实我的要求很简单，就是要通过主域名（http://by-igotit.com）和www子域名（http://www.by-igotit.com）都可以访问到我的blog，如果http://*.by-igotit.com也都能访问到当然也就更好。虽然现在访问都已经没有了问题，但实在想说说我到底折腾了些什么。
Yahoo的域名管理里，主域名by-igotit.com只允许设置A Record，其它子域名（包括www子域名）则可以设置A Record或者CNAME。按Google的设置向导，用户应该将要使用的域名（比如blog.example.com）设置一个CNAME到ghs.google.com，然后在Blogger的后台里，提交前面要使用的域名（blog.example.com）。这样问题就来了，设置www.by-igotit.com当然没问题，可by-igotit.com没法设置CNAME。痛苦，早知道就去godaddy.com那边去申请域名了，据说那边是可以随便设置的，控制空间很大。
那现在想一个办法，先nslookup出ghs.google.com的IP，然后用这个IP设置A Record给by-igotit.com，然后www.by-igotit.com转发到by-igotit.com就行了。nslookup出来的IP是64.233.179.121，设置好后， by-igotit.com的确是可以用了，可突然又发现Yahoo的域名管理只能把主域名和www子域名同时转发到另一个域名，而不能单独设置，或者互相转发。后来发信给Yahoo的客服，结果对方回信说两个域名是一样的，不用互相转发，不信可以试mydomain.com和www.mydomain.com都可以访问到我的网站。其实人家说得也对，一般情况下应该是能把这两个解析成一样的，可是到Google Blogger那里，不能自动把这两个识别成等同的地址，或者自动把其中一个解析另一个。而必需是设置成发布到by-igotit.com或者www.by-igotit.com，这就搞得不论怎么设置，都只能使用其中一个。
想来想去，还有另外一种办法，就是把blog发布到blogged.by-igotit.com，然后把主域名和www子域名都转发到这个上来。测试后是可行的，可是暂时还不想这样弄。
没办法，只好发布到www.by-igotit.com，然后主域名by-igotit.com显示Yahoo的Starter Web Page，里面提示“请访问www.by-igotit.com”。唉，其实要是这个Starter Web Page可以编辑HTML，我也可以让它转向，可是只能放置文本，无语。
到这里，按说设置也就暂时告一段落了，但今天又看到一条终极消息《Google的免费主机玩完啦》，得，GFW封了上面那个IP地址，还设置什么啊，全别想访问了（Google Apps for Your Domain估计全部受影响）。
难道又回去sitesled，域名扔一边玩？想起来原来在hostbigger还申请过空间，而且那边支持域名绑定，好吧，现在把域名绑那边去，内容也发布到那边去。这样也好，因为顺带着的，前面主域名和www子域名的问题也就解决了。
折腾一大圈，没想到最后这样结束。好在问题都解决了，by-igotit.com也终于可以正式投入使用了。


Related posts:买域名了
To be evil or not?
谷歌那些事儿



Related posts:<ol><li><a href='http://by-igotit.com/2007/01/buy-a-new-domain.html' rel='bookmark' title='Permanent Link: 买域名了'>买域名了</a></li>
<li><a href='http://by-igotit.com/2007/04/to-be-evil-or-not.html' rel='bookmark' title='Permanent Link: To be evil or not?'>To be evil or not?</a></li>
<li><a href='http://by-igotit.com/2010/03/things-about-google-chin.html' rel='bookmark' title='Permanent Link: 谷歌那些事儿'>谷歌那些事儿</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>自从那天为了Google Blogger的Publish on a custom domain买了域名，这两天摆弄域名绑定，实在是把自己搞得无语。</p>
<p>其实我的要求很简单，就是要通过主域名（<a href="http://by-igotit.com/">http://by-igotit.com</a>）和www子域名（<a href="http://www.by-igotit.com/">http://www.by-igotit.com</a>）都可以访问到我的blog，如果http://*.by-igotit.com也都能访问到当然也就更好。虽然现在访问都已经没有了问题，但实在想说说我到底折腾了些什么。</p>
<p>Yahoo的域名管理里，主域名by-igotit.com只允许设置A Record，其它子域名（包括www子域名）则可以设置A Record或者CNAME。按Google的设置向导，用户应该将要使用的域名（比如blog.example.com）设置一个CNAME到ghs.google.com，然后在Blogger的后台里，提交前面要使用的域名（blog.example.com）。这样问题就来了，设置www.by-igotit.com当然没问题，可by-igotit.com没法设置CNAME。痛苦，早知道就去godaddy.com那边去申请域名了，据说那边是可以随便设置的，控制空间很大。</p>
<p>那现在想一个办法，先nslookup出ghs.google.com的IP，然后用这个IP设置A Record给by-igotit.com，然后www.by-igotit.com转发到by-igotit.com就行了。nslookup出来的IP是64.233.179.121，设置好后， by-igotit.com的确是可以用了，可突然又发现Yahoo的域名管理只能把主域名和www子域名同时转发到另一个域名，而不能单独设置，或者互相转发。后来发信给Yahoo的客服，结果对方回信说两个域名是一样的，不用互相转发，不信可以试mydomain.com和www.mydomain.com都可以访问到我的网站。其实人家说得也对，一般情况下应该是能把这两个解析成一样的，可是到Google Blogger那里，不能自动把这两个识别成等同的地址，或者自动把其中一个解析另一个。而必需是设置成发布到by-igotit.com或者www.by-igotit.com，这就搞得不论怎么设置，都只能使用其中一个。</p>
<p>想来想去，还有另外一种办法，就是把blog发布到blogged.by-igotit.com，然后把主域名和www子域名都转发到这个上来。测试后是可行的，可是暂时还不想这样弄。</p>
<p>没办法，只好发布到www.by-igotit.com，然后主域名by-igotit.com显示Yahoo的Starter Web Page，里面提示“请访问www.by-igotit.com”。唉，其实要是这个Starter Web Page可以编辑HTML，我也可以让它转向，可是只能放置文本，无语。</p>
<p>到这里，按说设置也就暂时告一段落了，但今天又看到一条终极消息《<a href="http://www.williamlong.info/archives/756.html">Google的免费主机玩完啦</a>》，得，GFW封了上面那个IP地址，还设置什么啊，全别想访问了（<a href="http://www.google.com/a/">Google Apps for Your Domain</a>估计全部受影响）。</p>
<p>难道又回去sitesled，域名扔一边玩？想起来原来在hostbigger还申请过空间，而且那边支持域名绑定，好吧，现在把域名绑那边去，内容也发布到那边去。这样也好，因为顺带着的，前面主域名和www子域名的问题也就解决了。</p>
<p>折腾一大圈，没想到最后这样结束。好在问题都解决了，<a href="http://by-igotit.com">by-igotit.com</a>也终于可以正式投入使用了。</p>


<p>Related posts:<ol><li><a href='http://by-igotit.com/2007/01/buy-a-new-domain.html' rel='bookmark' title='Permanent Link: 买域名了'>买域名了</a></li>
<li><a href='http://by-igotit.com/2007/04/to-be-evil-or-not.html' rel='bookmark' title='Permanent Link: To be evil or not?'>To be evil or not?</a></li>
<li><a href='http://by-igotit.com/2010/03/things-about-google-chin.html' rel='bookmark' title='Permanent Link: 谷歌那些事儿'>谷歌那些事儿</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://by-igotit.com/2007/01/configure-domain.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>买域名了</title>
		<link>http://by-igotit.com/2007/01/buy-a-new-domain.html</link>
		<comments>http://by-igotit.com/2007/01/buy-a-new-domain.html#comments</comments>
		<pubDate>Tue, 09 Jan 2007 14:44:00 +0000</pubDate>
		<dc:creator>Igotit</dc:creator>
				<category><![CDATA[IT与互联网]]></category>
		<category><![CDATA[互联网]]></category>
		<category><![CDATA[域名]]></category>

		<guid isPermaLink="false">http://rootbeerfans.com/byigotitl32jr8fijk/wordpress/?p=62</guid>
		<description><![CDATA[买域名了：http://by-igotit.com
blogger推出了publish on a custom domain的服务，以后就不用找免费空间用ftp发布了，直接发布到blogspot，然后用自己的域名。希望GFW没法找麻烦。
然后也要告别old blogger了，New Blogger，我来了～～


Related posts:折腾域名



Related posts:<ol><li><a href='http://by-igotit.com/2007/01/configure-domain.html' rel='bookmark' title='Permanent Link: 折腾域名'>折腾域名</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>买域名了：<a href="http://by-igotit.com">http://by-igotit.com</a></p>
<p><a href="http://www.blogger.com">blogger</a>推出了publish on a custom domain的服务，以后就不用找免费空间用ftp发布了，直接发布到blogspot，然后用自己的域名。希望GFW没法找麻烦。</p>
<p>然后也要告别old blogger了，New Blogger，我来了～～</p>


<p>Related posts:<ol><li><a href='http://by-igotit.com/2007/01/configure-domain.html' rel='bookmark' title='Permanent Link: 折腾域名'>折腾域名</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://by-igotit.com/2007/01/buy-a-new-domain.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
