Set default page for website?

July 31st, 2013

Hello all,
I am working on a website at the moment and I have completed the code and have uploaded it, I have never actually published a site before and I need to change the server so that it access the new HTML file by default.
I can log in by FTP and I can see that it is an apache server, there are a load of asp files in a folder called lib but I cant find any reference to the default page / directory so any pointers would be hugely appreciated.
Cheers, Captain*

Answer #1
default page is either “index.html” or “default.html” and placed in the root folder
Answer #2
It’s any page that’s defined as the DirectoryIndex in the .htaccess file.
http://www.javascriptkit.com/howto/htaccess6.shtml
Answer #3
For future .htaccess reference I really recommend
http://www.htaccesseditor.com/en.shtml
You can do alot of fun stuff with .htaccess
Answer #4
You can do alot of fun stuff with .htaccess
if it’s supported by the host’s server, not all do
Answer #5
Ah thanks guys, I ended up contacting the server owner who changed it for me, I couldn’t find a .htaccess file in the directory so it was a lost cause me trying to do it myself. Anyway thanks for the replies and ill keep the comments in mind – Captain*
/close thread
Answer #6
Ah thanks guys, I ended up contacting the server owner who changed it for me, I couldn't find a .htaccess file in the directory so it was a lost cause me trying to do it myself. Anyway thanks for the replies and ill keep the comments in mind - Captain*
If you don’t have one in the directory you can just make one yourself.

 

| Sitemap |