今天在检查空间的时候发现HostMonster上已经可以修改绑定的主域名了,而且只要很简单的联系客服就可以了。想想以前一直想改主域名,今天有空就修改一下。客服那边整个操作可能三分钟左右,等他操作完再刷新cPanel就已经看到修改成功了。现在把主要工作域名改成Addon域名了,这样就不用经过.htaccess跳转,希望对网站的PR有所帮助。博客的域名现在是主域名,通过.htaccess转向到了目录里面。这里附上HM提供的用于转入子目录的.htaccess文件样本。
    补充,刚发现以前的主域名变成了Parked Domain而不是Addon Domain导致网站无法访问,要重新Un-assign/Assign为Addon Domain才可以正常访问。

# .htaccess main domain to subdirectory redirect
# Copy and paste the following code into the .htaccess file
# in the public_html folder of your hosting account
# make the changes to the file according to the instructions.
# Do not change this line.
RewriteEngine on
# Change yourdomain.com to be your main domain.
RewriteCond %{HTTP_HOST} ^(www.)?yourmaindomain.com$
# Change ‘subdirectory’ to be the directory you will use for your main domain.
RewriteCond %{REQUEST_URI} !^/subdirectory/
# Don’t change this line.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Change ‘subdirectory’ to be the directory you will use for your main domain.
RewriteRule ^(.*)$ /subdirectory/$1
# Change yourdomain.com to be your main domain again.
# Change ‘subdirectory’ to be the directory you will use for your main domain
# followed by / then the main file for your site, index.php, index.html, etc.
RewriteCond %{HTTP_HOST} ^(www.)?yourmaindomain.com$
RewriteRule ^(/)?$ subdirectory/index.php [L]