/    Sign up×
Community /Pin to ProfileBookmark

index of/ and directory

Since a few days, when I load my page the browser load the index of/ of my page and not my homepage. Why? What is wrong and what do I have to change on the external server?

Thank you

to post a comment
Full-stack Developer

2 Comments(s)

Copy linkTweet thisAlerts:
@aj_nscOct 02.2008 — What is the name of the file that is your homepage? It's usually index.html, but could also be index.php or default.html.

First, check to see if either of these files are in your root directory where you see the index of/ message. If they aren't, then you need to upload your index.html file.

If you have an index.html, index.php, or default.html file in this root directory and it's still showing you the index of/ message. Then open up a text editor and paste in the following:

<i>
</i>DirectoryIndex {index file}


Replace {index file} in the line above with the exact filename of your index file (i.e. index.html)

Save this file as .htaccess and upload it to your root directory.
Copy linkTweet thisAlerts:
@paldoauthorOct 02.2008 — Thank you very much. The index.html were not on the server anymore. Thanks for your clear explanations, my problem is solved.

Paldo
×

Success!

Help @paldo spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.7,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...