subdomains and directories

7 replies
  • WEB DESIGN
  • |
Hey gang! I'm new here so I hope that my question isn't going to make you ROFLMAO.

I would like to know if this is possible ...

Let's say that I have 5 products that I want to promote. Can I have either a subdomain for each one (e.g.-offer1 or 2 or 3 or 4 or 5.mysite.com) or a directory for each one (e.g.-mysite.com/offer1 or 2 or 3 or 4 or 5)?

I don't mind paying for domain names but if it isn't necessary, why do it?

Thanks in advance.
#directories #subdomains
  • Profile picture of the author scriptnique
    Originally Posted by the_mick_forever View Post

    Hey gang! I'm new here so I hope that my question isn't going to make you ROFLMAO.

    I would like to know if this is possible ...

    Let's say that I have 5 products that I want to promote. Can I have either a subdomain for each one (e.g.-offer1 or 2 or 3 or 4 or 5.mysite.com) or a directory for each one (e.g.-mysite.com/offer1 or 2 or 3 or 4 or 5)?

    I don't mind paying for domain names but if it isn't necessary, why do it?

    Thanks in advance.
    Hi there. Technically, you can set your products up on your website many different ways. You can have them on different subdomains (you don't have to purchase subdomains they just need set up on your server), directories, or even assign each product to it's own page on your website with a shopping cart and add to cart buttons.
    {{ DiscussionBoard.errors[1010123].message }}
  • Profile picture of the author chadmunsey
    I've found that it's easiest to manage over the long term to just set up a new directory. Sometimes subdomains can be a little bit of a pain if you do a complete redesign or something like that. I usually reserve subdomains for containing "sections" of a site I.E. store.mydomain.com or blog.mydomain.com or members.mydomain.com.

    Or even easiest, if your offer requires just a single page then just create a page for it. My rule of thumb is if something needs multiple pages then create a directory for it but it's purely organizational only. K.I.S.S. right?
    {{ DiscussionBoard.errors[1010178].message }}
  • Profile picture of the author Aronya
    I agree with chadmunsey. You may only have 5 products today, but in a year, who knows? With subdomains, you'll have to wrestle with cpanel every time you add a product. With directories, you just upload the folder via FTP. Done! Also, if you ever move to a new host, you start from scratch with the subdomain setup.
    {{ DiscussionBoard.errors[1010236].message }}
  • Profile picture of the author HomeBizNizz
    So a "articles.domain.tld" is a great choice...?
    {{ DiscussionBoard.errors[1010968].message }}
  • Profile picture of the author rlopes
    Subdomains can be great if they fit your site structure. Many classifieds websites use 1 subdomain for each city for example, not just for SEO, but because they make the site look more "organized".
    {{ DiscussionBoard.errors[1011289].message }}
    • Profile picture of the author Sonam22
      I tried this just now, replaced hm2k.org in the first line with my domain, then ran phpinfo() to get my DOCUMENT_ROOT, which is set to /home/rickywh/domains/mydomain.com/public_html
      i then changed set this path in the three lines that are relevant and saved it to a file called .htaccess, when i visited my main domain by going mydomain.com, i got internal server error message. but when trying to go to subdomain.mydomain.com, it displayed the message about it being a shared website that hast multiple users or something, so i guess it half works.
      {{ DiscussionBoard.errors[1022466].message }}
  • If using a host that supplies "cpanel",

    when you setup a subdomain in your cpanel it creates a directory/folder in your public_html/root directory.

    then, anytime that you need to add/edit whatever to that subdomain you simple do it the same way you would pages in any other directory/folder.

    there is no reason to ever have to mess with the subdomain part of cpanel again for that subdomain.

    I would suggest using the subdomains even if you don't get domain names for them.
    the search engines like subdomains better than just subdirectories and it makes it easier to maintain the separateness of the sites.


    the only reason I can see for having separate domain names for each product is for the slight benefit you will get in the search results for those keywords.

    luck,
    robert
    Signature

    phpBB integration with your website PM for details.
    free website builder

    {{ DiscussionBoard.errors[1032735].message }}

Trending Topics