View Full Version : Setting an initial webpage...
Ncatdesigner
10-22-2007, 09:20 AM
How can I set an initial webpage.
Let's say I put this file called something.html in a folder named bin, inside the www folder.
Every time anypne access to mydomain.com this should be the page to see. I want this webpage in this folder, I want not move it.
redsox9
10-22-2007, 09:57 AM
Create a basic HTML file, name it index.html, and place it in your public_html folder in your account. Now whenever someone visits yourdomain.com, it will see that default page (or home page, as it's sometimes called).
asanvicente
10-26-2007, 03:31 PM
Can we change the default to "index.php", or "default.html"?
Thanks
Early Out
10-26-2007, 03:35 PM
Edit the .htaccess file under public_html, and add a line telling the server which file name you want as the home page.
Example:
DirectoryIndex index.php
or
DirectoryIndex default.html
or even
DirectoryIndex somethingelse.html
asanvicente
10-26-2007, 03:52 PM
I'd forgotten which file it was. For anyone with subdomains, place it under:
/public_html/subdomain/.htaccess
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.