March 18, 201016 yr Hi guys, I came across this site: http://mozart/ and was wondering... HOW THE HELL DO THEY DO THAT? no www. is standard, but how the hell do they get away with no .com/.co.uk/.org or any other kind of suffix? Any ideas? Ta
March 18, 201016 yr They don't! Your browser is re-writing mozart as mozart.com. It's that simple! Search engines and non-browser user agents (and indeed some browsers) won't work with http://mozart/ - so bad idea to link like that generally. On the other hand, www.com is valid (simply a .com domain name called www). But looks a bit odd at first.
March 18, 201016 yr Author How do they do that though? You say my browser is rewriting it... but HOW? I am just interested in the principle behind what they are doing? Is it Perl? JS? Php? .htacess? how does it do it? Ta
March 18, 201016 yr Your browser is programmed so that when you type "mozart" it actually goes to mozart.com instead. A similar thing happens whereby if domain.ext doesn't exist, they automatically try www.domain.ext before failing. There is no "mozart" hostname to contact - there is no machine on the WWW with that name!! It cannot be resolved by DNS. It really is just some internal browser trickery designed for lazy or impatient people who don't want to type ".com" - the site is not responsible for the way it works (though may be unwisely piggy-backing off it). Edit: If you are using a browser with a search engine built into the search bar (like Firefox with the Google plug-in), then it may also redirect to whatever is the highest organic search result. So for "mozart" you get mozart.com and "testing" you get the Wikipedia entry for "Software testing". Edited March 18, 201016 yr by Connetu_C
March 18, 201016 yr How about this one? http://to./ ;p The registry for Tobago have obviously entered a record at the DNS root for .to. Nice URL though.
Create an account or sign in to comment