Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

My site is published with iWeb and is hosted at URL like this:

http://web.me.com/foobar

With pages like this:

http://web.me.com/foobar/site/about.html

I have a custom domain (e.g., www.foo.com) for this site. According to these instructions, I should define a CNAME with my registrar that maps www.foo.com to web.me.com.

My question is:

After I configure the CNAME, what happens, precisely, when someone types in:

http://www.foo.com

Which URL are they really hitting? And what will show up in the address bar? (Obviously I don't want them to land on http://web.me.com but rather http://web.me.com/foobar)

share|improve this question

1 Answer 1

up vote 1 down vote accepted

It looks like they are also adding a little "URL redirection" too, but maybe not mentioning it. The CNAME will land any requests of www.foo.com to web.me.com. More than likely at web.me.com it will be looking at the HTTP request information and see that the original request/read came in for www.foo.com which will allow it to actually map to web.me.com/foobar.

Whether they "stealth" the return to show the "true" URL is not addressed. It may display the "true" URL in which the http address will then reflect web.me.com/foobar or if it is "stealthed" then the http address will remain www.foo.com or become www.foo.com/foobar.

share|improve this answer
    
Thanks. The "stealthing" would be up to web.me.com, eh? –  Rob Sobers Aug 5 '10 at 10:38
    
Correct. The web redirect will work either with or without it, it just keeps things looking nice... –  user48838 Aug 5 '10 at 12:40
    
@user48838 They do mask the "real" URL, btw. –  Rob Sobers Oct 25 '10 at 17:25

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.