Little bit confused about addon free domian competition into my old account.

jaran

New member
Good day Admin/Staff,

I have won the competition of the free domain hosting gigalicous. I have request free domain and already got it, but the admin asked me to add the domain to my hosting account.
I am little bit confused because my old account was registered to my old site(allpreview.net). How can I make the new domain is seen standing alone when I submitted to google webmaster?
 

jaran

New member
Genesis said:
Jaran. You can create an add on sub-domain, park your new domain in the cpanel, and then get the new domain to point at the sub-domain. I'll see if I can find cPanel documentation to explain the steps of how to do it.

Thank you Genesis for fast respond. I will try it now. :good:
 

jaran

New member
Thanks Sitebee. Im not read it before. Anyway, I was googling about SEO impact for addon domain then I see all the people said its really safe for SEO our old domain. Yipy..... :yahoo:
 

admin

Administrator
Staff member
Your welcome, if you get stuck again feel free to ask for help in the support forum.
 

ogah

New member
if you worry your subdomain and your folder of new domain will impact on seo, redirect your subdomain and folder that behave of new domain to your new domain
redirect with htaccess
Code:
Options +FollowSymLinks
RewriteEngine on
RewriteBase /

RewriteCond %{HTTP_HOST} ^newdomain\.allpreview\.net$ [NC]
RewriteRule ^(.*) http://newdomain.info/$1 [L,R=301]

yesterday i am also ask to Sitebee about how to redirect my subdomain to other subdomain of blogspot.
i found my way, i am creating subdomain www.blog then i make htaccess on folder that belonging of my subdomain like this:
Code:
Options +FollowSymLinks
RewriteEngine on
RewriteBase /

RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]


and i create index.php with content like this:
PHP:
<?php
$uri = $_SERVER['REQUEST_URI'];
if(!preg_match('/www\.blog/', $uri)) {
	$redir = 'http://indro-network.blogspot.com'.$uri;
}
else {
	$uri = str_replace('www.blog/', '', $uri);
	$redir = 'http://www.blog.newbietool.info'.$uri;
}

echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'."\r\n";
echo '<html lang="en-US" xmlns="http://www.w3.org/1999/xhtml">'."\r\n<head>\r\n";
echo '<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>'."\r\n";
echo "<title>This Blog is Moved</title>\r\n";
echo '<meta http-equiv="Accept-Encoding" content="gzip,deflate"/>'."\r\n";
echo '<meta http-equiv="Content-Encoding" content="gzip"/>'."\r\n";
echo '<meta name="distribution" content="global"/>'."\r\n";
echo "<meta HTTP-EQUIV=\"refresh\" content=\"3;url='".$redir."'\" />\r\n";
echo "</head>\r\n<body>\r\n";
echo "<h1>This blog is moved</h1>\r\n";
echo "<p>This blog is moved to <a href='".$redir."'>".$redir."</a><br/>\r\nPlease update your bookmark to our new address.<br/></p>\r\n";
echo "</body>\r\n</html>"; exit;
?>
please correct my script if have better way to redirect my subdomain
 

jaran

New member
@Ogah

Yes. Thats what I want. Thank you. Before, I worried if the new domain has been detected like as duplicated content causing by old subdomain.