Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Domain name and hosting question

Featured Replies

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

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.

  • 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

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 by Connetu_C

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.