index.php not loading by default

Status
Not open for further replies.

thorrold

New Member
Messages
2
Reaction score
0
Points
1
Hi!

I have just signed up for free hosting and have created a new site. I left the URL path empty so that the website is directly on the domain.
I have uploaded a test php file (index.php) to my public_html folder but I get the 'Default Web Site Page' page loading instead of my test file. I've added:

DirectoryIndex index.html index.htm index.php

But navigating to the domain still loads the 'Default Web Site Page'. If I browse to the actual URL for the file it works (i.e. PHP files are served).

Does anyone have any suggestions as to what I might be missing?

The contents of my .htaccess file is:

---------------------------------------------------
# -FrontPage-

DirectoryIndex index.html index.htm index.php
IndexIgnore .htaccess *~ *# */HEADER* */README* */_vti*

<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName mysitehostname
---------------------------------------------------

Thanks,
James
 

essellar

Community Advocate
Community Support
Messages
3,295
Reaction score
227
Points
63
The default page is "sticky" (it is aggressively cached by your browser and/or any caching proxy servers between you and the web server). You will need to clear your browser's cache and history entries for your site and restart your browser before you see your index page. If that doesn't immediately clear the problem, your ISP may have cached the page (it improves apparent performance without the cost and hassle of actually upgrading their service), and that usually takes between 6 and 24 hours to age out. Remember to clear your own local cache/history every time you see the default page.
 

thorrold

New Member
Messages
2
Reaction score
0
Points
1
The default page is "sticky" (it is aggressively cached by your browser and/or any caching proxy servers between you and the web server). You will need to clear your browser's cache and history entries for your site and restart your browser before you see your index page. If that doesn't immediately clear the problem, your ISP may have cached the page (it improves apparent performance without the cost and hassle of actually upgrading their service), and that usually takes between 6 and 24 hours to age out. Remember to clear your own local cache/history every time you see the default page.

Browser cache - the one thing I didn't think to check :banghead: All fine now.
Thanks essellar!
 
Status
Not open for further replies.
Top