small problem, dont know how to solve. Please reply urgent

Discussion in 'HTML & Website Design' started by smart, Apr 7, 2007.

  1. #1
    friends, check this one
    I got domain from godaddy and hosting from eqwebhost.
    when i change DNS at godaddy it is pointing to Directory http://freevideolectures.com/.
    But i want it point to home.html file.

    I am very tense, please suggest me, How to do it?
     
    smart, Apr 7, 2007 IP
  2. NetMidWest

    NetMidWest Peon

    Messages:
    1,677
    Likes Received:
    151
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Log into CPanel, and open your file manager.
    Navigate to public_html, click on 'Create New File'.
    Create a file called .htaccess, then click on it, and look in the right top corner.
    Click on 'Edit File', and insert the following:
    DirectoryIndex home.html
    and then click save.
     
    NetMidWest, Apr 7, 2007 IP
  3. Clive

    Clive Web Developer

    Messages:
    4,507
    Likes Received:
    297
    Best Answers:
    0
    Trophy Points:
    250
    #3
    You could just try renaming home.html to index.html which is a more common file name for a directory index file.
     
    Clive, Apr 7, 2007 IP
  4. smart

    smart Active Member

    Messages:
    232
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    53
    #4
    smart, Apr 7, 2007 IP
  5. Clive

    Clive Web Developer

    Messages:
    4,507
    Likes Received:
    297
    Best Answers:
    0
    Trophy Points:
    250
    #5
    I'd prefer to avoid redirects where possible, and this is one of the cases when you can get away with a simple file rename
    or a .HTACCESS adjustment for the DirectoryIndex value.
     
    Clive, Apr 7, 2007 IP
  6. smart

    smart Active Member

    Messages:
    232
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    53
    #6
    I have changed name and it is working well.
    Could you please check my site http://freevideolectures.com/ and give some feedback? if you have time.
    I think i troubled you.

    Thank you a lot Clive and NetMidWest.
    Thanks.. Thanks.. Thanks.. Thanks.. Thanks.. Thanks.. Thanks..
     
    smart, Apr 7, 2007 IP