Re: Forward using CNAME record

2011-01-26 Thread Gary Wallis

p...@mail.nsbeta.info wrote:

Gary Wallis writes:



Do not confuse your "forwarding" with HTTP rewriting.
One is just about DNS records (CNAME, A or otherwise.) The other 
happens on the server side (see Apache rewrite engine docs.)


This is nothing about rewrite, but webserver's virtual host stuff.
Regards.


Phy,

Thanks for your comment but from the OP:

When you point your browser to www.example.com (obviously not
"example") the page on web.me.com loads properly but www.example.com is 
still displayed in the address bar.


The use of the word "still" clearly points to some type of confusion 
about rewrite and dns.


Regards.
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: Forward using CNAME record

2011-01-26 Thread Henry Hartley

On 01/25/2011 01:34 PM, Henry Hartley wrote:

On 1/25/2011 10:40 AM, Torinthiel wrote:

Dnia 2011-01-25 10:18 Henry Hartley napisał(a):


Should I be able to do what I'm trying to do?


If you have a web panel to configure your hosting, look for something
named
alternative domain names, aliases, virtual hosts or virtual servers.


I thought it might be something like that. Since I don't have access to
any web panel type interface for the site (I'm just providing DNS for a
friend) I can't fix it on my own. Also, since she's in Europe and I'm in
North America, it's a little harder for me to hand hold, but I'm sure
we'll figure it out. If not, I can always point the DNS to my own web
server and redirect from there, changing the URL passed to tumblr.com.


Following up on my own post, tumblr.com DOES have a setting like this 
and my friend was able to set it, so all is well.


--
Henry
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Re: Forward using CNAME record

2011-01-25 Thread pyh
Gary Wallis writes: 





Do not confuse your "forwarding" with HTTP rewriting. 

One is just about DNS records (CNAME, A or otherwise.) The other happens 
on the server side (see Apache rewrite engine docs.) 



This is nothing about rewrite, but webserver's virtual host stuff. 


Regards.
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: Forward using CNAME record

2011-01-25 Thread Henry Hartley

On 1/25/2011 10:40 AM, Torinthiel wrote:

Dnia 2011-01-25 10:18 Henry Hartley napisał(a):


In the second case, which is NOT working, I have a similar CNAME record
but instead of web.me.com, it's on tumblr.com. So, I have this (this is
the actual domain):

www.ioanamorosan.com.  CNAME   ioanamorosan.tumblr.com.

If you go directly to ioanamorosan.tumblr.com, the site loads, but if
you go to www.ioanamorosan.com, you get a tumblr.com 404 error page. The
browser still displays www.ioanamorosan.com in the address bar.

So, is this a situation where web.me.com is set up to recognize
www.example.com properly but tumblr.com is not? Or what?

Should I be able to do what I'm trying to do?


No, not exactly. your name properly resolves to the same domain as
ioanamorosan.tumblr.com. Your DNS setup is perfectly correct. But the web
server is not configured to handle www.ioanamorosan.com.
If you go to ioanamorosan.tumblr.com it handles the name correctly and gives
your page. But when faced with a name it doesn't recognize it falls back to
default site.

If you have a web panel to configure your hosting, look for something named
alternative domain names, aliases, virtual hosts or virtual servers.

The name that is sent to the web serwer is the one typed in browser, and has
nothing to do with any CNAME records on the way. The web server must be
configured to handle it.
Torinthiel


I thought it might be something like that. Since I don't have access to 
any web panel type interface for the site (I'm just providing DNS for a 
friend) I can't fix it on my own. Also, since she's in Europe and I'm in 
North America, it's a little harder for me to hand hold, but I'm sure 
we'll figure it out. If not, I can always point the DNS to my own web 
server and redirect from there, changing the URL passed to tumblr.com.


Thanks you to you and the others who took time to answer my question.

--
Henry
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Re: Forward using CNAME record

2011-01-25 Thread Torinthiel
Dnia 2011-01-25 10:18 Henry Hartley napisał(a):

>My apologies if this gets to the list twice. I tried to post it through 
>the web interface but it seems to have been dropped by whatever 
>screening gets applied.
>
>I'm not sure if I've misunderstood the use of CNAME or if I've simply 
>done something wrong.
>
>I have two domains that I want to forward. One is working properly and 
>the other is not. In both cases I want users to enter a URL in their 
>browser (www.example.com) and be forwarded to a different system, where 
>the user has their site. In the working case, the forwarding it to 
>web.me.com so I have the following in my zone file:
>
>www.example.com.   CNAME   web.me.com.
>
>When you point your browser to www.example.com (obviously not
>"example") the page on web.me.com loads properly but www.example.com is 
>still displayed in the address bar.
>
>In the second case, which is NOT working, I have a similar CNAME record 
>but instead of web.me.com, it's on tumblr.com. So, I have this (this is 
>the actual domain):
>
>www.ioanamorosan.com.  CNAME   ioanamorosan.tumblr.com.
>
>If you go directly to ioanamorosan.tumblr.com, the site loads, but if 
>you go to www.ioanamorosan.com, you get a tumblr.com 404 error page. The 
>browser still displays www.ioanamorosan.com in the address bar.
>
>So, is this a situation where web.me.com is set up to recognize 
>www.example.com properly but tumblr.com is not? Or what?
>
>Should I be able to do what I'm trying to do?

No, not exactly. your name properly resolves to the same domain as 
ioanamorosan.tumblr.com. Your DNS setup is perfectly correct. But the web 
server is not configured to handle www.ioanamorosan.com.
If you go to ioanamorosan.tumblr.com it handles the name correctly and gives 
your page. But when faced with a name it doesn't recognize it falls back to 
default site.

If you have a web panel to configure your hosting, look for something named 
alternative domain names, aliases, virtual hosts or virtual servers.

The name that is sent to the web serwer is the one typed in browser, and has 
nothing to do with any CNAME records on the way. The web server must be  
configured to handle it.
Torinthiel
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Re: Forward using CNAME record

2011-01-25 Thread Eivind Olsen
> www.example.com.   CNAME   web.me.com.
> When you point your browser to www.example.com (obviously not
> "example") the page on web.me.com loads properly but www.example.com is
> still displayed in the address bar.

What happens in this case is: the web browser you use will connect to the
address of web.me.com but will present a HTTP host header asking for
www.examle.com. Depending on the configuration of the webserver on that
host, it may serve web pages from a default document root, which may or
may not be the same as web.me.com

> www.ioanamorosan.com.  CNAME   ioanamorosan.tumblr.com.
> If you go directly to ioanamorosan.tumblr.com, the site loads, but if
> you go to www.ioanamorosan.com, you get a tumblr.com 404 error page. The
> browser still displays www.ioanamorosan.com in the address bar.

In this case, the webserver on ioanamorosan.tumblr.com doesn't know how to
deal with requests coming in for www.ioanamorosan.com and gives that error
message.
The administrators of the webserver could add a ServerAlias setting in
their Apache configuration, to put requests into the correct document
root.

Regards
Eivind Olsen


___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: Forward using CNAME record

2011-01-25 Thread Gary Wallis

Gary Wallis wrote:

Henry Hartley wrote:

...


In the second case, which is NOT working, I have a similar CNAME 
record but instead of web.me.com, it's on tumblr.com. So, I have this 
(this is the actual domain):


www.ioanamorosan.com.  CNAME   ioanamorosan.tumblr.com.

If you go directly to ioanamorosan.tumblr.com, the site loads, but if 
you go to www.ioanamorosan.com, you get a tumblr.com 404 error page. 
The browser still displays www.ioanamorosan.com in the address bar.


So, is this a situation where web.me.com is set up to recognize 
www.example.com properly but tumblr.com is not? Or what?


Should I be able to do what I'm trying to do?




About your second case:

This is not about DNS but about HTTP. Site tumblr uses the incoming HTTP 
request to provide content. Since it does not know anything about 
"www.ioanamorosan.com" it returns the 404.


Cheers!
Gary

___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: Forward using CNAME record

2011-01-25 Thread Gary Wallis

Henry Hartley wrote:
My apologies if this gets to the list twice. I tried to post it through 
the web interface but it seems to have been dropped by whatever 
screening gets applied.


I'm not sure if I've misunderstood the use of CNAME or if I've simply 
done something wrong.


I have two domains that I want to forward. One is working properly and 
the other is not. In both cases I want users to enter a URL in their 
browser (www.example.com) and be forwarded to a different system, where 
the user has their site. In the working case, the forwarding it to 
web.me.com so I have the following in my zone file:


www.example.com.   CNAME   web.me.com.

When you point your browser to www.example.com (obviously not
"example") the page on web.me.com loads properly but www.example.com is 
still displayed in the address bar.


In the second case, which is NOT working, I have a similar CNAME record 
but instead of web.me.com, it's on tumblr.com. So, I have this (this is 
the actual domain):


www.ioanamorosan.com.  CNAME   ioanamorosan.tumblr.com.

If you go directly to ioanamorosan.tumblr.com, the site loads, but if 
you go to www.ioanamorosan.com, you get a tumblr.com 404 error page. The 
browser still displays www.ioanamorosan.com in the address bar.


So, is this a situation where web.me.com is set up to recognize 
www.example.com properly but tumblr.com is not? Or what?


Should I be able to do what I'm trying to do?

--
Henry
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users



Do not confuse your "forwarding" with HTTP rewriting.

One is just about DNS records (CNAME, A or otherwise.) The other happens 
on the server side (see Apache rewrite engine docs.)


Usually both must be setup correctly to achieve your "forwarding."

Cheers!
Gary
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Forward using CNAME record

2011-01-25 Thread Henry Hartley
My apologies if this gets to the list twice. I tried to post it through 
the web interface but it seems to have been dropped by whatever 
screening gets applied.


I'm not sure if I've misunderstood the use of CNAME or if I've simply 
done something wrong.


I have two domains that I want to forward. One is working properly and 
the other is not. In both cases I want users to enter a URL in their 
browser (www.example.com) and be forwarded to a different system, where 
the user has their site. In the working case, the forwarding it to 
web.me.com so I have the following in my zone file:


www.example.com.   CNAME   web.me.com.

When you point your browser to www.example.com (obviously not
"example") the page on web.me.com loads properly but www.example.com is 
still displayed in the address bar.


In the second case, which is NOT working, I have a similar CNAME record 
but instead of web.me.com, it's on tumblr.com. So, I have this (this is 
the actual domain):


www.ioanamorosan.com.  CNAME   ioanamorosan.tumblr.com.

If you go directly to ioanamorosan.tumblr.com, the site loads, but if 
you go to www.ioanamorosan.com, you get a tumblr.com 404 error page. The 
browser still displays www.ioanamorosan.com in the address bar.


So, is this a situation where web.me.com is set up to recognize 
www.example.com properly but tumblr.com is not? Or what?


Should I be able to do what I'm trying to do?

--
Henry
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users