Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Oct 2013
    Posts
    5
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Question about "http://web." on URLs

    I've seen a few URLs that use 'web.' at the beginning.
    Can anybody tell me what purpose this serves and why some sites use it?

    Examples: web.stagram.com, web.mit.edu

    Thanks!

  • #2
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,642
    Thanks
    0
    Thanked 649 Times in 639 Posts
    It is just a sub-domain. You can create whatever sub-domains you like for your domain.
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  • Users who have thanked felgall for this post:

    t0r0nto (05-21-2014)

  • #3
    New to the CF scene
    Join Date
    Oct 2013
    Posts
    5
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Really? I always thought subdomains went after the domain name in a URL...

    Thanks!

  • #4
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,932
    Thanks
    6
    Thanked 1,041 Times in 1,014 Posts
    Code:
    http://test.example.com/index.php?foo=bar&foo2=baz#section
    
    Protocol
    (3rd-level) Subdomain
    (2nd-level) Domain
    Top-level Domain
    File name
    Query string
    Fragment identifier
    Code:
                     com   Top-level Domain (TLD)
             example.com   Second-level Domain (usually just referred to as “domain”)
         www.example.com   Third-level Domain (usually referred to as “subdomain”)
     foo.www.example.com   Fourth-level Domain
    …
    …

  • Users who have thanked VIPStephan for this post:

    t0r0nto (05-21-2014)


  •  

    Posting Permissions

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