redirecting my website...

Status
Not open for further replies.

cool_cat

Inactive
Explorer
Hi ,

I have a website ,for example(sorry! not mine!) , www.foobar.com :ohyeah: .now , I have blogger as the backend(domain mapping).everything configured OK both on blogger enabling the custom domain and on website cpanel reg CNAME.but , if I type simply foobar.com ,it fails. dont know what I missed! on blogger ,I ticked redirect foobar.com to www.foobar.com .

your Help is appreciated.:)
 
you need to have a CNAME record like *.foobar.com - going to foobar.com

and blog.foobar.com to your blogger account

i hope this is what you were looking for. I did not understand your question completely though.
 
You need to make A record for foobar.com and map it to your name servers. Also, make a CNAME record for the ip address of your server.

Hope this helps.
 
CNAME record made already for www.foobar.com where "www" is the host .

Now ,I added another CNAME Record for foobar.com .

So , 2 CNAME records one for www.foobar.com and one for foobar.com

when I try adding A Record ,I am confused!. the IP I gave doesnot work also :(

Now , A record already exists by default.I added another. then ,the IP for blogger which I had to gave.I tried nslookup ghs.google.com and found below IP @ now :

66.249.81.121

Ermm.. so added that ! now 2 A records ,2 CNAME records!

I am really confused regarding A record. which IP that I have to enter? the DNS ?

do help!your help is very much needed :)
 
Thanks Varkey :D . before your suggestion came ,I added A Record for foobar.com as blogger IP for my blog - lets say foobar.blogspot.com .

Then ,when I typed "foobar.com" it showed google search home page.

Now ,I deleted A Record I created and added a 2nd CNAME that points to www.foobar.com .this time also google search home page is shown !

I hope it will resolve soon?
 
LOL I'm still not clear on what you're trying to accomplish. Can you explain exactly what you want to do without mentioning what you've done already?
 
I have www.foobar.com which points to foobar.blogspot.com

now when foobar.com (without www host) is tried ,it fails.

How to foobar.com points towards foobar.blogspot.com is my doubt :D
 
1. www.foobar.com and foobar.com result in 403 errors. Fix that first by uploading a temp HTML page so you know it's working

2. To solve the other issue, I'd force a redirect in your site's .htaccess file
 
RiO said:
1. www.foobar.com and foobar.com result in 403 errors. Fix that first by uploading a temp HTML page so you know it's working

2. To solve the other issue, I'd force a redirect in your site's .htaccess file

I don't think that's his actual domain name. :P
 
I realize that now, assumed it was his since that domain is also down lol. I don't know why people can't be clear if they need help.

Anyway, the .htaccess trick works like a charm.
 
Considering the way you described what you wanted, let me give you a real example:

RewriteEngine on

RewriteCond %{HTTP_HOST} !^www\.example\.com

RewriteRule (.*) http://www.example.com/$1 [L,R=301]

This code is used to redirect example.com to www. example.com. You can basically change the latter to a valid sub-domain too.

P.S. When you need help next time, describe what you're trying to solve clearly and either provide the actual domain or use example.com or just domain.com.

EDIT: And if your site does not have an .htaccess file, create one using notepad.
 
OK .I think my explanation is not good(as usual ,if you visit td forums that is! )

first of all , foobar.com is my so called website domain with managed DNS which I purchased.

then ,I got a blog at foobar.blogspot.com .so ,in blogger ,I enabled custom domain mapping ,which is free. now what I entered is "www.foobar.com" OK? :D

next ,I edited CNAME on my cpanel of domain name foobar.com .added

www.foobar.com and URL as "ghs.google.com" .

Now ,if I browse www.foobar.com ,it works as it shows my blog.

Then ,I got another CNAME entry ,which is "foobar.com" and its directed to "www.foobar.com" .

but ," foobar.com" gives me a 404 error. :(
 
When I seen foobar.com resulting in a 403, I had a feeling it was your domain lol.

Anyway, if you're using the blogger.com redirect/domain mapping tool, follow their instructions to the tee. If you think you did and still are facing trouble, post their detailed instructions so we can help.
 
Status
Not open for further replies.