Posts Tagged ‘域名停靠’

用.htaccess实现域名指向子目录功能

我购买的webhostingpad空间虽然支持Parked Domains(域名停靠)功能,但停靠的域名只能指向网站根目录即主域名(如我的http://roadh.net),如果想将域名(如http://xyc.pp.ru)停靠到我在此空间上建立的子网站(通过Addon Domains功能建立)(如http://xya.in)上,单靠cpanel控制面板提供的功能是无法实现的,好在该空间支持.htaccess文件重写功能,现就将实现方法介绍如下:

1、首先在xyc.pp.ru的dns中将其cname到xya.in上;

2、编辑网站根目录下.htaccess文件,添加如下内容:

Read more…

更多

3 comments  Posted by admin - 2010 年 2 月 10 日 at 12:53 Just 5,681 views

  Categories: WordPress经验, 建站经验   Tags: , , , , , , , , , ,

Cpanel空间绑定RU域名的方法

CP空间一般都要求你把域名的DNS修改成他们服务器DNS,然而RIPN组织(RU域名提供商)为了防止域名不能访问,要求DNS的IP要相差几个IP段,而空间的DNS一般都在同一个IP段,所以该如何绑定RU域名?现在提供网上流行的两种方法:

Read more…

Be the first to comment  Posted by admin - 2009 年 5 月 18 日 at 20:51 Just 1,637 views

  Categories: 免费域名, 建站经验   Tags: ,

巧妙使用Domain Mirror Plugin插件让您的WordPress博客支持多域名访问

您是不是想让多个域名同时指向一个博客?每个域名的标题还各不相同?并且所有的文章均以各自的域名的地址存在而非其他插件的自动指向主域名?

现在就让Domain Mirror来帮您实现这一梦想吧。

下面是其作者页面的详细说明(英文的!我将在近期以最简单的方式来加以说明!)

(简单地说就是已经支持2.7版了,首先是下载插件安装,启用,然后在设置菜单中找到Domain Mirror项,按提示依次输入您想停靠的域名,标题、小标题、博客显示url(填两次),最后,最重要的也就是你必须将这些域名停靠在购买空间的主域名上--在DreamHost空间是通过mirror项来解决!)--祝您好运!

WordPress 2.7: Works.
WordPress 2.6.2: Works.
WordPress 2.6.1: Works.
WordPress 2.5: DomainMirror seems to work with no changes on this version, as long as the 2.3 patch is in place.

Download: Domain Mirror v1.1

Download: Domain Mirror v1.2beta

Download: WP-DomainMirror WordPress 2.3 fix

If you have more than one domain and want to point both of them at the same WordPress installation, you’ll find that it doesn’t really work very well. WordPress creates it’s own internal URLs based on the settings in General Options. This Plugin allows multiple domains to be configured within WordPress and updates the Weblog Title, WordPress Address URL and Blog Address URL on-the-fly based on the value of $_SERVER[‘SERVER_NAME’].

This allows one installation to show different URL paths, tagline and blog title for each domain.

What it won’t do is make one domain appear to be two, or change your domain configuration. You need to do that yourself, or have your hosting provider do it for you.

To see it in action, you can access this site via http://McAleavy.org or http://LightPainting.org. Both point to a single WordPress installation, running on a single database.

NB: It doesn’t appear to work with WordPress MU.

New in v1.1

  1. You can now have a separate tagline on each domain.
  2. The Admin screen has a button to copy in the current WordPress configuration to save on typing.
  3. The Admin screen has buttons to clear content from whole domains and indivudual lines.

New in v1.2beta

This version is pretty new, contains quite a few changes, and may have bugs. Please use it if you’d like to help find them.

  1. Theme switching.
  2. SERVER_NAME / HTTP_HOST config option.
  3. “no admin screen” switch.
  4. More validation.
  5. Added “stripcslashes”

Installation

  1. Download and unpack the archive. If you downloaded the plugin from my site it will unpack to a directory named “AA-DomainMirror”, but if you got it from the WordPress plugin repository it will unpack to the direcotory “domain-mirror”. Either will work, but you may need to rename the latter to “AA-DomainMirror” if you have problems with some other plugins not seeing the changes. See below.
  2. Copy the whole AA-DomainMirror directory to wp-content/plugins/ If possible, don’t change the name of the directory, as the AA- at the start is a horrible hack to ensure that WordPress loads this plugin first. This is required as any plugin loaded before it won’t be able to see the changes it makes, so will behave as if it’s still on the default domain. This puzzled me for quite a while.
  3. Go to your Plugins page and activate Domain Mirror.
  4. Go to the Options -> Domain Mirror page and configure as outlined below.

Upgrade

Overwrite the old version with the new version.

Usage

When enabled, Domain Mirror will change the values of Weblog Title, Tagline, WordPress Address and Blog Address automatically. Where you have hard-coded the site name or a site URL into a post or page you should replace that entry with one of the tags provided. See below.

Configuration

Click the images to expand.

You will need to set up at least 2 domains that point to the same WordPress install. With Apache you can do that with Virtual Hosts. If you are using a hosted account there may be some way to set this up through the account configuration screens. On the host I use for this site, DreamHost, you do this by logging into the Panel interface and selecting Domains >> Manage Domains. Your first domain must be Fully Hosted. For the Domain you want to set as the Mirror, click the edit button. In the edit screen there are 5 options:

  1. Fully Hosted;
  2. Redirected;
  3. Mirrored;
  4. Parked;
  5. Cloaked.
DreamHost Mirror Settings

DreamHost Mirror Settings

 

Select the Mirrored option, and set Domain to mirror to the name of your Fully Hosted domain. Shown here is this setting for my lightpainting.org domain, which mirrors mcaleavy.org.

Options Before

Options Before

 

Your existing WordPress configuration should be left as it is. This will not be changed unless you press Save on this page when viewed from a domain other than the default. See below.

Domains Before

Domains Before

 

On initial activation, the Domain Mirror options screen will display a default blank entry. This default is defined in conf.inc.php – which can be edited to set different defaults. The post tags used to display the current setting of these fields in posts or pages are shown to the right. Add this text to a post or page and it will be replaced by it’s value for the current domain. This allows such posts to display properly from any configured domain.

First Domain

First Domain

 

Fill in the settings for the current domain, or press the Get Current Domain button to get the values from the database. This is recommended because the General Options page will show the Domain Mirror configured settings when accessed from another domain. If you then press Save on that page those options will be written to the WordPress settings, overwriting the original settings. If you don’t have those settings in Domain Mirror, they will be lost and the original domain will not function properly until they are re-entered. If Save is not pressed, the original values will be retained and will be used again when the plugin is disabled.

Changes Saved

Changes Saved

 

Click the Save button to record the changes. The screen will reload and display the Changes Saved banner.

New Blank Domain

New Blank Domain

 

To add another domain, click the Add New Domain button. The page will refersh with a 2nd blank domain.

Second Domain

Second Domain

 

Fill in the details for the 2nd domain, and click Save Changes.

SiteBefore.jpg

SiteBefore.jpg

 

Now, when viewed using the first domain, the site remains unchanged.

Site After

Site After

 

When viewed using the second domain, the site appears as if configured for that domain.

Options After

Options After

 

The General Options screen, when accessed from the new domain, now displays the details for that domain. These options, however, are coming from the Domain Mirror configuration and not from the WordPress settings. As noted before, if save is pressed on this page these options will be written to the WordPress settings, overwriting the original settings. If you don’t have those settings in Domain Mirror, they will be lost and the original domain will not function properly until they are re-entered.

To delete a domain, press the Delete Domain button and it will be removed from the page. This change will be written to the database when you next press Save Changes. If you delete all of the entries in Domain Mirror it will return to it’s default settings. If you wish to alter these defaults you can edit the file config.inc.php in the AA-DomainMirror directory. The “X” buttons on each line can be used to clear the contents of that line and the Clear All button can be used to clear the contents of that domain setting. Again, pressing Save Changes is rquired to make these changes permanent.

4 comments  Posted by admin - 2009 年 3 月 11 日 at 12:04 Just 20,879 views

  Categories: WordPress经验   Tags: , ,

SEDO域名停放·注册赚钱指南

SEDO域名停放·注册赚钱指南
域名停放

从不用的域名那里赚钱
域名注册网最新推出“域名停放 ”系统可以让您使用域名赚钱,而且您不需要建立自己的网站。同时,域名注册网的域名停放系统可以让您的域名有更多的展示机会,有利于您的域名出售!

域名停放 是如何工作的?
只要您将域名停放 在域名注册网,系统即会自动显示根据您的域名关键字匹配、优化过的广告链接。
访问者在广告链接上的每一次点击您将会获得¥0.25到¥12.00的广告佣金收入,可以轻松赚取几百、几千的广告费收入。
增加您的域名出售机会,我们的研究表明在域名停放 系统登记出售的域名被卖出的机会要比普通域名多很多。
在域名注册网停放域名是完全免费的,没有任何契约约束,您可以在任何时候解除这种关系,取消域名停放 。
域名注册网域名停放系统提供详细的统计报告,可以让您了解到每个域名有多少访问者。
sedo
注册地址点这里:http://www.sedo.com
1. SEDO是做什么的?
Sedo(Search Engine of Domain Name)提供域名交易和付费域名停放服务,开始于2003年,主投资商1and1,主域名sedo.com(刚开始使用esedo.com,Matt老大花了一年多的时间以8w美金买进sedo.com),国别域名:sedo.co.uk, sedo.de, sedo.fr, sedo.es, sedo.cn等. 已经有包括中文在内的近10种语言界面.

2.域名交易服务.

sedo收取10%的交易费,没有最低起价.可通过paypal支付,个人认为可信赖程度大于escrow.本人通过sedo交易数十个域名,均非常顺利.

3.付费停放(Paid Domain Parking)

此项服务,sedo并非原创,我接触最早的是DomainSponsor.目前有很多人提供此项服务,afternic, fabulous,goldkey等,但是如果大部分流量是亚洲流量的话,还是sedo最好,因为他跟google合作,关键词优化的比较好.其他的大部分不对亚洲流量付费,或者很少.

sedo最早的合作伙伴是Espotting,付费非常高,一个点击至少1欧元左右,但是后来转向google,现在国内每个点击一般是0.03欧或者更多些,我这两天还有0.02的点击.欧美的有的有1欧的或者更多的,视关键字而定.

4.付费问题

我好久没看sedo条款了,20以上就可以通过paypal支付,50以上可以电汇,接受电汇最好的是:中行的一本通

Sedo域名停放指南

如何开始:

步骤 1

输入您的域名。 如果您还没有做好,请 创建一个Sedo帐号 点击菜单“我的Sedo>>添加域名”来增加您的域名。 这需要在Sedo上停放您的域名。 没有停放在Sedo上的域名不会跟停放在Sedo的域名显示在一起的。

步骤 2

请使用以下两种方法,在Sedo上“停放” 您的域名:

方法一:域名服务器转向
在您注册的时候,参照下面的方法更改您的域名服务器设置:

首选服务器:NS1.SEDOPARKING.COM
首选服务器IP: 217.160.95.94

备用服务器:NS2.SEDOPARKING.COM
备用服务器IP: 217.160.141.42

请注意:域名服务器转向注册将会在2到3天内更新,您的域名停放页面才会显示正确。

步骤 3
一但您的域名被完全地安装在您的注册商那里,您可以使用您的帐号登录到Sedo上,然后通过点击停放域名 来追踪您停放的域名。

Be the first to comment  Posted by admin - 2008 年 9 月 4 日 at 14:48 Just 3,009 views

  Categories: 免费域名, 建站经验, 网赚经验   Tags: , ,

SEDO域名停放注册,设置教程

首先是注册账号:注册很简单,也很容易过~我贴一张图大家就都懂了,主要的就是邮箱,不能用hotmail和gmail,收不到激活信,我用的msn,21cn(mail.china.com也行!)的,
SEDO域名出售&停放详细图文教程

1.点此连接注册

2. 选择第一项英文,不要选中文,因为选中文注册的时候激活不了帐号.然后点 Register 开始注册

3. 開始填入你的註冊資料, 包括使用者名稱, 密碼, 你的住址電話, 底下的兩個方框打勾, 填好後按Next

4. 接下來可以輸入你想停放在Sedo的域名, 不需要加上http或www, 每個域名一行, 也可以先跳過, 以後再來新增你想停放在Sedo的域名, 輸入完後下面方框打勾後按Next

5. 接下來你可以依照你域名的性質選擇語言及所屬目錄, 這邊的設定不影響你的域名停放, 可是如果你打算出售你的域名, 選擇適當的目錄多少會有幫助Asking Price是你希望的價錢Minimum Offer是你接受的最低起價, 低於這個價錢的出價會被直接擋下來幣值可選EUR歐元或USD美元, 設定完後選Next, 這些設定隨時都可以更改, 不設也無所謂

6. Sedo接下來會提醒你要把該域名的DNS改到ns1.sedoparking.com及ns2.sedoparking.com如果你打算要將域名park到Sedo賺廣告費, 記得要去修改你的DNS設定如果你只是打算要出售該域名, 確還打算在售出前繼續使用, 那可以不用更改DNS設定

7. Sedo會發一封認證信去你的信箱, 打開你的信箱後點擊裡面的連結就完成整個註冊了記得在註冊完成後登入你的Sedo帳號, 在My Sedo的選單內選擇Payment 把收款方式改為PayPal收款, 最低額改為$20, 然後在下面填入你的PayPal帳號, 點選Update就可以完成你的收款設定以後只要停放在Sedo的域名賺來的廣告費超過$20就會自動存入你的PayPal帳號中。

如果要新增停放的域名的話, 只要點選My Sedo選單中的Add Domain, 然後依照步驟4~6就可以了

1 comment  Posted by admin - at 13:36 Just 3,560 views

  Categories: 免费域名, 建站经验, 网赚经验   Tags: ,