Advice - webpage set up

Discussion in 'HTML & Website Design' started by gordano, Feb 7, 2010.

  1. #1
    I am trying to add an index page to a sub directory that i have created on .asp hosting but it does not work

    e.g. url www.mysite/subdir/

    in subdir I have a page home.asp ... a copy of the home.asp page from the main site root directory.

    But, it does not work

    I have tried putting up index.asp and index.html, but when I enter the url

    www.mysite/subdir/

    Still shows page not found.

    Any suggestions?

    Thanks
     
    gordano, Feb 7, 2010 IP
  2. sh.lolz

    sh.lolz Peon

    Messages:
    41
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Could it be because you're typing

    www.mysite/subdir
    Code (markup):
    instead of

    www.mysite.com/subdir
    Code (markup):
    ?
     
    sh.lolz, Feb 7, 2010 IP
  3. gordano

    gordano Active Member

    Messages:
    843
    Likes Received:
    59
    Best Answers:
    0
    Trophy Points:
    70
    #3
    gordano, Feb 7, 2010 IP
  4. m7md_cis

    m7md_cis Peon

    Messages:
    91
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Try that put index page on the root and not on subdirectory.
     
    m7md_cis, Feb 7, 2010 IP
  5. gordano

    gordano Active Member

    Messages:
    843
    Likes Received:
    59
    Best Answers:
    0
    Trophy Points:
    70
    #5
    What I am trying to acheive is to make the subdir a route directory, e.g. so "www.mysite.com/subdir/" brings up the home.asp page. However even when I try www.mysite.com/subdir/home.asp" it does not show ... and the fielis definitely uploaded into the correct directory.
     
    gordano, Feb 7, 2010 IP
  6. hdewantara

    hdewantara Well-Known Member

    Messages:
    541
    Likes Received:
    47
    Best Answers:
    25
    Trophy Points:
    155
    #6
    Probably subdir and the files within haven't been accessible yet.
    Is the status of subdir and files 755 and 644 ?
     
    hdewantara, Feb 12, 2010 IP
  7. gordano

    gordano Active Member

    Messages:
    843
    Likes Received:
    59
    Best Answers:
    0
    Trophy Points:
    70
    #7
    Thanks for the advice. ~I managed to get it working but had to use index.htm in the sub dir as opposed to home.asp
     
    gordano, Feb 12, 2010 IP