Can I turn example.com/store.php into store.example.com?

Discussion in 'Site & Server Administration' started by ccano, Oct 11, 2006.

  1. #1
    ccano, Oct 11, 2006 IP
  2. vito

    vito Peon

    Messages:
    306
    Likes Received:
    22
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Yes. Provided your web hosting account allows you to create subdomains, simply create a subdomain called "store". It will automatically create a folder/directory in your root directory with the same name, and that is where you would upload all your store files.

    Vito
     
    vito, Oct 11, 2006 IP
  3. ccano

    ccano Peon

    Messages:
    211
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    So it doesn't have to have the .php extension for the script to work?
     
    ccano, Oct 11, 2006 IP
  4. tyggemannen

    tyggemannen Guest

    Messages:
    842
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #4
    The stores full path will be:

    http://store.example.com/index.php

    Why do you want to change it ? you will not gain any PR from example.com since store.example.com will be treated like another domain not related to example.com
     
    tyggemannen, Oct 11, 2006 IP
  5. vito

    vito Peon

    Messages:
    306
    Likes Received:
    22
    Best Answers:
    0
    Trophy Points:
    0
    #5
    You're confusing individual files with folders/directories.

    When you create a subdomain in your hosting account, you are creating a folder of the same name in your site's root directory. It contains no files, and folders do not require extensions. It is then up to you to upload files to the new folder. For instance, you should upload an index file to the folder. It can be index.htm, index.html, index.php, whatever meets your needs. If you are installing some kind of pre-bought store script, and if it is in PHP, it will likely have an index.php. After you upload that file to your site, when you point your browser to http://store.example.com , it will point to that index file.

    Vito
     
    vito, Oct 11, 2006 IP
  6. ccano

    ccano Peon

    Messages:
    211
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #6

    I was hoping I would benefit from the PR of example.com.

    My situation is that I have a blog hosted on TypePad with the domain example.com. I want to host a store under the same domain so that I can associate the store with my blog. But TypePad is not exactly the ideal place to host an online store.

    So I bought hosting at HostGator.com, hoping that I could host my store there and use the domain name example.com/store.php. But the HostGator support team said I could not do that. They said I could only create a subdomain (store.example.com). But if the subdomain will not benefit from example.com's PR, then this is not going to work out for me.

    The only thing I can think of is switching from TypePad and transferring my blog to HostGator and use Wordpress instead, but this sounds like it would be an EXTREMELY tedious task. Correct me if I'm wrong.
     
    ccano, Oct 11, 2006 IP
  7. slava

    slava Peon

    Messages:
    1,621
    Likes Received:
    93
    Best Answers:
    0
    Trophy Points:
    0
    #7
    This is the wrong forum for this question. This forum is for buying, selling, adn trading domains.
     
    slava, Oct 11, 2006 IP
  8. blazed

    blazed Guest

    Best Answers:
    0
    #8
    lol buddy this place is for site & server administration.. i think u r mistake brother.
     
    blazed, Oct 12, 2006 IP
  9. blazed

    blazed Guest

    Best Answers:
    0
    #9
    You can use .htaccess for it .
    mod rewrite.
     
    blazed, Oct 12, 2006 IP
  10. tyggemannen

    tyggemannen Guest

    Messages:
    842
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #10
    I am not shure of what kind of setup you want. But what about fortgetting about the PR, purchasing a new domain, and put it on hostgator. Have your store on hostgator. Do the store need to have the name example.com in it ? I mean, if you expand, soon you will not like to be at a free host that owns your domain name.
     
    tyggemannen, Oct 12, 2006 IP
  11. ccano

    ccano Peon

    Messages:
    211
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Thanks. What do you mean?
     
    ccano, Oct 12, 2006 IP
  12. ccano

    ccano Peon

    Messages:
    211
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #12
    What do you mean? I am not using a free host. I have a TypePad Pro account, and I've paid for hosting at HostGator.

    The reason I want to have my store at example.com is because I've already gotten indexed well by Google for example.com, and I want the store to benefit from that.
     
    ccano, Oct 12, 2006 IP
  13. mad4

    mad4 Peon

    Messages:
    6,986
    Likes Received:
    493
    Best Answers:
    0
    Trophy Points:
    0
    #13
    You can do this but for SEO purposes its better to use a directory rather than a subdomain.
     
    mad4, Oct 12, 2006 IP
  14. ccano

    ccano Peon

    Messages:
    211
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #14
    Thanks. So how do I go about directing my domain to this directory on another host, while still hosting my main blog at example.com on TypePad?
     
    ccano, Oct 12, 2006 IP
  15. mad4

    mad4 Peon

    Messages:
    6,986
    Likes Received:
    493
    Best Answers:
    0
    Trophy Points:
    0
    #15
    You should be hosting everything under the same domain. Why do you want them at seperate places?
     
    mad4, Oct 12, 2006 IP
  16. tyggemannen

    tyggemannen Guest

    Messages:
    842
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #16
    That you are well indexed will not automaticly help you to index new pages, it depends on the content of the new pages. If the store pages are just amazon goods info its likely that they will not be indexed or just in the supplemental at best.

    If this is something you will build for the future I would find a way to move everything to hostgator and use /store.

    Why cant you move the blog ?
     
    tyggemannen, Oct 12, 2006 IP
  17. slava

    slava Peon

    Messages:
    1,621
    Likes Received:
    93
    Best Answers:
    0
    Trophy Points:
    0
    #17
    Thread was moveed by MOD
     
    slava, Oct 12, 2006 IP