How to create a subdomain and avoid to create a new folder ?

Discussion in 'Site & Server Administration' started by xantoniox, Jul 13, 2012.

  1. #1
    Hello,
    I have just created a new subdomain on my shared hosting static.example.com but it has also create a new folder www.example.com/static/ .

    How can I remove that folder ? I want just the subdomain.
     
    xantoniox, Jul 13, 2012 IP
  2. droppedwebsites

    droppedwebsites Guest

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    When you create a subdomain, a folder will be created to store the contents of the subdomain. You need a folder somewhere to store the contents of the subdomain.
     
    droppedwebsites, Jul 13, 2012 IP
  3. atxsurf

    atxsurf Peon

    Messages:
    2,394
    Likes Received:
    21
    Best Answers:
    1
    Trophy Points:
    0
    #3
    you can park it on to the main domain, than use .htaccess to point it to whatever folder you like (for example folder with your static images)
     
    atxsurf, Jul 29, 2012 IP