www or not: WHY?

  • conorific
  • Proficient
  • Proficient
  • User avatar
  • Posts: 350
  • Loc: NY

Post 3+ Months Ago

I didn't know where to post this, so moderators, move it if you feel it should be:

Why is it that in order to access some websites, you have to put www before the URL, and in others, it doesn't matter?
  • b_heyer
  • Web Master
  • Web Master
  • User avatar
  • Posts: 4581
  • Loc: Maryland

Post 3+ Months Ago

It may be with how the apache server is set up, not sure. I don't use www for my site.
  • Axe
  • Genius
  • Genius
  • User avatar
  • Posts: 5739
  • Loc: Sub-level 28

Post 3+ Months Ago

Yup, it's because of the way Apache is setup (or the DNS record).

something.com and http://www.something.com are two completely different things.

You could even have the two addresses pointing to two completely different servers.
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23460
  • Loc: Woodbridge VA

Post 3+ Months Ago

Because the smart ones make an A record for both with and without. An A record is a DNS entry that makes the typed name resolve to the actual IP address of the site.

In essense what you do is you say yoursite.com = 198.162.0.1 and http://www.yoursite.com = 198.162.0.1 That way no matter how you type the name it resolves to the same place.
  • b_heyer
  • Web Master
  • Web Master
  • User avatar
  • Posts: 4581
  • Loc: Maryland

Post 3+ Months Ago

I think the host I am on resolves *.yourhost.com to the correct place.
  • Nunzio390
  • Student
  • Student
  • User avatar
  • Posts: 70
  • Loc: Tharsis Ridge (Martian lowlands)

Post 3+ Months Ago

That is why I make absolutely certain that any site I create, be it mine or a client's site, is always sitting on a host server where that www. crap doesn't ever have to be typed.

I'm lazy. People are lazy. The less you have to type in the address bar, the better off you are. :D
  • digitalMedia
  • a.k.a. dM
  • Genius
  • User avatar
  • Posts: 5148
  • Loc: SC-USA

Post 3+ Months Ago

I type the www out of shear habbit and I'm pretty sure MS-IIS has A records too.
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23460
  • Loc: Woodbridge VA

Post 3+ Months Ago

IIS does have A records.
  • Axe
  • Genius
  • Genius
  • User avatar
  • Posts: 5739
  • Loc: Sub-level 28

Post 3+ Months Ago

Your best bet is having a script that detects whether your site is on http://www.yoursite.com or just yoursite.com and forwards to http://www.yoursite.com if the URL is simply yoursite.com.

That way, if people want to paste your URLs elsewhere, you know your http://www.yoursite.com URLs are getting the links, and helping your pagerank on your primary hostname.

200 links to http://www.yoursite.com is better than 100 links to http://www.yoursite.com and 100 links to yoursite.com

I don't type www out of habit, Internet Explorer automatically inserts it.

When I come here, I just type ozzu in the Address bar, and hit CTRL+Enter. Then it automatically adds http://www. at the beginning and .com at the end.
  • digitalMedia
  • a.k.a. dM
  • Genius
  • User avatar
  • Posts: 5148
  • Loc: SC-USA

Post 3+ Months Ago

ha! I go Favorites/Forums/Ozzu Webmaster Forum

*How lame am I?
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23460
  • Loc: Woodbridge VA

Post 3+ Months Ago

I'm more lame -- I just hit Alt+Home since OZZU is set as my home page
  • Axe
  • Genius
  • Genius
  • User avatar
  • Posts: 5739
  • Loc: Sub-level 28

Post 3+ Months Ago

lol... addicted ;)
  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13504
  • Loc: Florida

Post 3+ Months Ago

:oops: I must be the laziest one here, I Right-Click/Ozzu :) I setup an IE context option that takes me right to unread posts :P
Did the same thing with Google.
  • digitalMedia
  • a.k.a. dM
  • Genius
  • User avatar
  • Posts: 5148
  • Loc: SC-USA

Post 3+ Months Ago

Sweet!!!
  • b_heyer
  • Web Master
  • Web Master
  • User avatar
  • Posts: 4581
  • Loc: Maryland

Post 3+ Months Ago

digitalMedia wrote:
ha! I go Favorites/Forums/Ozzu Webmaster Forum

*How lame am I?


me too :-P
  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13504
  • Loc: Florida

Post 3+ Months Ago

Ozzu in your context menu, (Should work as early as IE4)

REG file/entry,
Code: [ Select ]
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\Ozzu]
@="C:\\ozzu_context.js"
  1. Windows Registry Editor Version 5.00
  2. [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\Ozzu]
  3. @="C:\\ozzu_context.js"


.JS file,
Code: [ Select ]
<script language="javascript">

// Get the window object where the context menu was opened.
var oWindow = window.external.menuArguments;

// Goto Ozzu
oWindow.location = "http://www.ozzu.com/search.php?search_id=newposts";
</script>
  1. <script language="javascript">
  2. // Get the window object where the context menu was opened.
  3. var oWindow = window.external.menuArguments;
  4. // Goto Ozzu
  5. oWindow.location = "http://www.ozzu.com/search.php?search_id=newposts";
  6. </script>


Few notes here, First the script language tags MUST be included in the JS file for some strange reason.
Second, I've got it setup to load the js file from C:\ If you dont want it there just change the path in the REG entry.
Third, If you want somthing other than "Ozzu" to showup when you right-click then change this part of the REG entry,
Code: [ Select ]
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\Ozzu]


Last, I updated the Google context code I put in the Windows Tips thread, I forgot to add the "script language='javascript'" to it before :oops:
  • Tom the Great
  • Expert
  • Expert
  • User avatar
  • Posts: 727
  • Loc: B.C., Canada

Post 3+ Months Ago

digitalMedia wrote:
ha! I go Favorites/Forums/Ozzu Webmaster Forum

*How lame am I?


I go bookmarks->imported IE favorites->tomfavorites->forums->ozzu

I should just have it a little button, since I have room in the mozilla toolbar thing.

I didn't know http://www.site.com and site.com were different... :oops: I would always leave out the www and would always tell everyone else to leave the www out when I saw them typing something in...
  • gsv2com
  • Professor
  • Professor
  • User avatar
  • Posts: 776
  • Loc: Nippon

Post 3+ Months Ago

Axe wrote:
When I come here, I just type ozzu in the Address bar, and hit CTRL+Enter. Then it automatically adds http://www. at the beginning and .com at the end.

Hey! That's a pretty nifty little trick! :) Thanks!
  • cerio
  • Proficient
  • Proficient
  • User avatar
  • Posts: 263
  • Loc: UK

Post 3+ Months Ago

I have a link at the top of my browser, on my links toolbar, too lazy to go to Favorites/Forums or whatever
  • JrzyCrim
  • Mastermind
  • Mastermind
  • User avatar
  • Posts: 2062

Post 3+ Months Ago

Lol, Ozzu's great!

Bookmarks/Forums/Webmaster Forum.

Sometimes the Favicon is there, sometimes not. :? hee hee

Post Information

  • Total Posts in this topic: 20 posts
  • Users browsing this forum: No registered users and 14 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.