Website URL Structure

Discussion in 'Site & Server Administration' started by jami0821, Feb 18, 2010.

  1. #1
    What is the difference and how can I implement a URL that reads:

    shop.websitename.com

    vs.

    websitename.com/shop

    Thanks in advance!
     
    jami0821, Feb 18, 2010 IP
  2. jakd

    jakd Peon

    Messages:
    155
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    the first is called a subdomain, and the second is just a folder
     
    jakd, Feb 19, 2010 IP
  3. maestria

    maestria Well-Known Member

    Messages:
    705
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    110
    #3
    hello,

    For the first one, we need to setup a seperate DNS record for shop.websitename.com and it will work only if it is resolving to the correct IP. In the case of second one, its just a folder created under your main domain. If main domain is resolving properly, the link will work fine. There is no need for a DNS entry.
     
    maestria, Feb 19, 2010 IP
  4. Ashley Merrick

    Ashley Merrick Greenhorn

    Messages:
    52
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    18
    #4
    Also stop.domain.com can be on a different server/location, which is why some websites will have gb.domain.com usa.domain.com where the site is hosted at separate location's.

    Also google see's a sub domain ***.domain.com as a separate, where it see's domain.com/folder as the same site.
     
    Ashley Merrick, Feb 19, 2010 IP