Logo

  • Register
  • | Login
  • Facebook
  • Twitter
  • Gplus
  • Linkedin

Our forum Area

Page 1 of 3 12 ... LastLast
Results 1 to 15 of 42

This is a discussion on Capital letters in domain names? in the Hosting Talk & Chit-chat forum
Why is it that capital letters always get changed to lower case in domain names? Is there NO way to have capital letters for a ...

  1. #1
    Loyal Client snowcreative's Avatar
    Join Date
    Mar 2003
    Location
    NY
    Posts
    116

    Capital letters in domain names?

    Why is it that capital letters always get changed to lower case in domain names? Is there NO way to have capital letters for a domain show up in a URL?

  2. #2
    Old Hillbilly Connie's Avatar
    Join Date
    Sep 2001
    Location
    Hills of Missouri
    Posts
    2,489
    Why would you want capital letters in a domain name?

    Are you talking about typing in a domain name using capital letters or posting a link that has capital letters in it? Don't worry about it and I don't think there is anything you can do about it anyway.

    Forum Moderators - Jag Staff

    Spam Whackers Blog - Dedicated to fighting Spam and providing General SEO Tips
    Organize your Kitchen or purchase Kitchen Accessories at Condells
    Ihelpyou Forum - Dedicated to "Best Practices" SEO

  3. #3
    Loyal Client snowcreative's Avatar
    Join Date
    Mar 2003
    Location
    NY
    Posts
    116
    For readability (and remember-ability). Example:


    http://thissitenameisverylong.com

    versus

    http://ThisSiteNameIsVeryLong.com


    It's a branding issue. If a client has publicized their site name with capitals (for readability or other reasons), they'd like it to show up that way in the browser URL.

  4. #4
    Yeah, I know a LOT! Vin DSL's Avatar
    Join Date
    Mar 2003
    Location
    Arizona Uplands
    Posts
    10,665
    I'm with Connie on this one... what difference does it make?

    It doesn't matter if the capitals are used or not when typing an addy into a browser (except AFTER the domain name), and it also doesn't matter in hyperlinks, so...

    For instance, let's try camel hump style: hTTp://wWw.LeNoN.cOm

    Now copy n' paste it into your addy bar...

    Works either way, at least in Firefox!

    BTW, notice the capitalization in the title bar (top left of browser window) of my domain name? I could camel hump that too, if I was so inclined...
    Last edited by Vin DSL; 05-30-2006 at 08:05 PM.
    DISCLAIMER Any resemblance between the views expressed above and those of the owners and operators of this system is purely coincidental. Any resemblance between these views and my own are non-deterministic. The existence of Vin DSL is questionable. The existence of views in the absence of anyone to hold them is problematic. The existence of the reader is left as an exercise in the second-order coefficient.

    No Guts, No Story! VinDSL 2010

  5. #5
    Yeah, I know a LOT! Vin DSL's Avatar
    Join Date
    Mar 2003
    Location
    Arizona Uplands
    Posts
    10,665
    Quote Originally Posted by snowcreative
    Is there NO way to have capital letters for a domain show up in a URL?
    Only AFTER the domain name -- and this makes a huge difference, for instance:

    http://www.Lenon.com/mail (works)

    http://www.Lenon.com/Mail (doesn't work)
    DISCLAIMER Any resemblance between the views expressed above and those of the owners and operators of this system is purely coincidental. Any resemblance between these views and my own are non-deterministic. The existence of Vin DSL is questionable. The existence of views in the absence of anyone to hold them is problematic. The existence of the reader is left as an exercise in the second-order coefficient.

    No Guts, No Story! VinDSL 2010

  6. #6
    Community Leader jason's Avatar
    Join Date
    Sep 2001
    Location
    Rochester, NY
    Posts
    5,884
    Domain names are technically all lowercase, although all of the browsers (at least the recent ones) don't care what case you use. You can use all uppercase, all lowercase, or mixed or camel case without a problem. Browsers generally convert it to lowercase after you hit <enter>, though.

    Nonetheless, go ahead and make your links with uppercase letters for readability. I think people look at what you put on your site or print in your advertising more than they look in the location bar, though.

    --Jason
    Jason Pitoniak
    Interbrite Communications
    www.interbrite.com www.kodiakskorner.com

  7. #7
    Loyal Client snowcreative's Avatar
    Join Date
    Mar 2003
    Location
    NY
    Posts
    116
    Quote Originally Posted by Vin DSL
    It doesn't matter if the capitals are used or not when typing an addy into a browser (except AFTER the domain name)
    Of course it doesn't matter when you type it in; the domain name portion will just all get converted to lower case and WORK just fine. As I said, it's a branding issue for my client. They'd like the URL to show up the same way in a browser as it looks in their promo.

    But my question is WHY is this the case? Why can't capitals be used (and stay that way) in domain names, whereas they not only work, but are crucial when referencing directories and files (at least on UNIX systems)? Is it everyone's browser doing the converting, or is that happening on the server? If it's the server, why does the server do this?
    Last edited by snowcreative; 05-30-2006 at 08:23 PM.

  8. #8
    Old Hillbilly Connie's Avatar
    Join Date
    Sep 2001
    Location
    Hills of Missouri
    Posts
    2,489
    As I said, it's a branding issue for my client.
    The branding issue is done with what a user sees on the webpage and not what is displayed in the address bar. So if you want to make links Domain.Com do it.

    I know that on the server level www.Domain.com/page.htm is a different page than www.domain.com/page.htm.

    There are two exceptions that I know of. www.Doamin.com or www.domain.com, and e-mail addresses. In regard to the actual domain name I have never wondered if that was browser based or an exception to a Unix server. If it is browser based then I have to wonder why the exception also works for e-mail addresses.

    Forum Moderators - Jag Staff

    Spam Whackers Blog - Dedicated to fighting Spam and providing General SEO Tips
    Organize your Kitchen or purchase Kitchen Accessories at Condells
    Ihelpyou Forum - Dedicated to "Best Practices" SEO

  9. #9
    Old Hillbilly Connie's Avatar
    Join Date
    Sep 2001
    Location
    Hills of Missouri
    Posts
    2,489
    Anyway I think you are making a mountain out of a molehill, worrying about something you have no control over.

    Forum Moderators - Jag Staff

    Spam Whackers Blog - Dedicated to fighting Spam and providing General SEO Tips
    Organize your Kitchen or purchase Kitchen Accessories at Condells
    Ihelpyou Forum - Dedicated to "Best Practices" SEO

  10. #10
    Yeah, I know a LOT! Vin DSL's Avatar
    Join Date
    Mar 2003
    Location
    Arizona Uplands
    Posts
    10,665
    Heh! Look what I found...

    http://yost.com/computers/apache-red...st-patch-1.txt

    All you have to do is patch Apache!
    Last edited by Vin DSL; 05-30-2006 at 09:35 PM.
    DISCLAIMER Any resemblance between the views expressed above and those of the owners and operators of this system is purely coincidental. Any resemblance between these views and my own are non-deterministic. The existence of Vin DSL is questionable. The existence of views in the absence of anyone to hold them is problematic. The existence of the reader is left as an exercise in the second-order coefficient.

    No Guts, No Story! VinDSL 2010

  11. #11
    CTO JPC-Masood's Avatar
    Join Date
    Aug 2002
    Location
    Jaguar Servers
    Posts
    1,968
    Yeah right!

    http://www.JaguarPC.com works on IE.

    http://www.JaguarPC.com/support/ will also work.

    If you create your links correctly, they will work. Not sure what happens in firefox.

    http://www.JaguarPC.com/support will redirect to http://jaguarpc.com/support/ because "jaguarpc.com" is the domain name in apache's virtual host. If it was JaguarPC.com, it would still change to lower case. It can be on browser end as well and web server end as well. The above is from server end redirecting to lowercase.

    On the server end this may be changed on a vps or dedicated server by patching Apache. Not sure what is the behaviour of IIS.

    And if the browser also changes to lowercase, you can always develop your own browser
    Masood N. | Chief Technical Officer JaguarPC.com

  12. #12
    || $name ne 'R.Stiltskin'
    Join Date
    Jun 2003
    Location
    Tejas
    Posts
    2,414

    Post

    Check the source:

    rfc2616-sec3
    Code:
    3.2.3 URI Comparison
    
    When comparing two URIs to decide if they match or not, a client
    SHOULD use a case-sensitive octet-by-octet comparison of the entire
    URIs, with these exceptions:
    
      - A port that is empty or not given is equivalent to the default
        port for that URI-reference;
    
      - Comparisons of host names MUST be case-insensitive;
    
      - Comparisons of scheme names MUST be case-insensitive;
    
      - An empty abs_path is equivalent to an abs_path of "/".
    
    Characters other than those in the "reserved" and "unsafe" sets
    (see RFC 2396 [42]) are equivalent to their ""%" HEX HEX" encoding.
    
    For example, the following three URIs are equivalent:
    
          http://abc.com:80/~smith/home.html
          http://ABC.com/%7Esmith/home.html
          http://ABC.com:/%7esmith/home.html
    So, the domain name portion doesn't matter since one is limited to a narrower character set (no special characters allowed for registration with registrar) with both upper and lowercase characters getting "downcased" by default. The rest of the path is supposed to be case-specific and allows some special characters... all characters of which must be encodable to some universal standard.

    Make the domain whatever you want. Clients, to be operating within spec, will automatically assume it is all in lowercase anyway to correlate with the rules of the registrar (you could confirm it with ICANN if you want) and the rest of the path after the root demarcator "/" is case-specific.

  13. #13
    Loyal Client snowcreative's Avatar
    Join Date
    Mar 2003
    Location
    NY
    Posts
    116
    Quote Originally Posted by masood
    http://www.JaguarPC.com works on IE.

    http://www.JaguarPC.com/support/ will also work.

    If you create your links correctly, they will work. Not sure what happens in firefox.
    Yes, it works in IE. You can type in the domain name with uppercase letters and it stays that way. In Firefox, the domain gets lowercased, so that must be the browser that's doing it.

    I installed a RewriteRule in htaccess to switch to the domain name with uppercase letters, and it works beautifully in IE 5 (type in lowercase, gets switched to uppercase), but not IE 6! If you type in the domain with uppercase letters in IE 6, they stay there, but once you click on a link, even links with uppercase domain hard coded into them, it goes back to lower case.

    I didn't do any patching in Apache -- this site is on a shared server -- so I can't test that method. And I can't see what happens when clicking links on JaguarPC.com because they all seem to have "www.jaguarpc.com" hard coded into them (no relative links).

  14. #14
    Friendly rainboy's Avatar
    Join Date
    Apr 2006
    Location
    Eindhoven, The Netherlands
    Posts
    545
    I suggest you make the domain name visible in a title of the website. As what you are trying to do now, will most certainly be a problem later on when you get new versions of software, as you are not following RFC regulations.

    Kind regards,
    Patrick

  15. #15
    JPC Member
    Join Date
    Jun 2007
    Posts
    1
    No, what he's doing isn't against the RFC. Case in domain names isn't sensitive for comparison, but it says nothing about it being preserving. Software are free to preserve the case at their discretion. However, plenty of software doesn't preserve case, from browsers to search engines to servers, so it's probably not worth fighting for.

Page 1 of 3 12 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •