How to redirect one domain to another ?

barlow21

Junior Member
Joined
Aug 15, 2011
Messages
192
Reaction score
36
I am using godaddy domain with blogger .Recently,I bought a new domain on godaddy and I want to redirect old domain to a new one .
I did 301 redirect to new domain .The problem is
It redirects only bnbnn.com to new domain but it doesn't redirect www.bnbnn.com to new domain .My blogger is set up with www.bnbnn.com .How can I redirect totally ?
 
Do it in administration panel ;)

or you could use simple redirect. Upload this /html file to your host and it will redirect to new domain

<html>
<head>
<meta http-equiv="refresh" content="0; url=http://example.com/" />
</head>
<body>
</body>
</html>

or php if you preffer )
 
Last edited:
best to do with htaccess, its more flexible.
This topic comes up so often though, should have a sticky for it.
 
best to do with htaccess, its more flexible.
This topic comes up so often though, should have a sticky for it.
What David said, use .htaccess file.
A simple google search would solve the technical aspect for you.
 
What David said, use .htaccess file.
A simple google search would solve the technical aspect for you.
I am not using wordpress.
I AM USING BLOGSPOT WEBSITE .
 
Do you have some hosting you could point your domain to? If so then just drop this into an htaccess file:
Code:
<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteCond %{HTTP_HOST} ^olddomain.com$ [OR]
  RewriteCond %{HTTP_HOST} ^www.olddomain.com$
  RewriteRule (.*)$ http://www.newdomain.com/$1 [R=301,L]
</IfModule>

I'm surprise that GoDaddy's redirect doesn't push all subdomain requests to the new url.

Yes I saw It redirects only bnbnn.com to new domain but it doesn't redirect www.bnbnn.com to new domain .So,I am losing 90% of traffic since my blogspot site is set up with www.bnbnn.com
 
Last edited:
This is why I don't use GoDaddy.
I think it can be done through DNS Records though, but I'm too lazy to check :)
 
Do it in administration panel ;)

or you could use simple redirect. Upload this /html file to your host and it will redirect to new domain

<html>
<head>
<meta http-equiv="refresh" content="0; url=http://example.com/" />
</head>
<body>
</body>
</html>

or php if you preffer )

I suggest this method, its easy to redirect your website,
 
Godaddy have this option. Launch the domain from the godaddy account. Click on 'DNS Zone File'. There you have to add the non 'w' domain format to 'w' format first. So add a cname to do it.
 

Attachments

  • Untitled-1.jpg
    Untitled-1.jpg
    74 KB · Views: 6
Back
Top