PDA

View Full Version : Need help with a website.



Bastinka
August 5th, 2007, 03:28 PM
Well theres a couple of questions I have, to start it off I'm helping my sister create her graphic designer wep page. So far I uploaded the default.html and the other things to the public_html (The home/front page.) and it doesn't work when I type in her website URL (igoncarova.com)

I thought I did something wrong so I checked if we still pay for the site, and we do. So then I revised my work and checked to see if I did everything right, turns out I did.. Well to my knowledge I did.

So I'm asking people who know website hosting, could you help me out? Well, I haven't provided enough information to do so but all I can say is I should have the frontpage set up because I have set it to default.html, yet it doesn't load. Is there anything I might've done wrong?

PyTh0N
August 5th, 2007, 03:35 PM
It has to be index.html not default.html for the main page...
Also make sure u have all the name servers set
EXAMPLE DNS1.Yourhost.com needs to be set to DNS1.Yoursite.com cause defaulty its set to your host domain.

Bastinka
August 5th, 2007, 03:36 PM
No it doesn't.

FireDragon04
August 5th, 2007, 05:04 PM
Hes right, Unless you have a direct php redirect, you need the main page you wish to be displayed called 'index' followed by its file type (ie. index.php). Believe me thats how it works.

Also, if you have purchased your domain name from a different place to where you FTP is hosted (your web space) then you need to make sure the DNS servers are pointing to the correct place.

Python did say everything correct, and even though trust is an issue alot of people have, just believe people sometimes :rolleyes:

Bastinka
August 5th, 2007, 05:22 PM
Ohkay.

klange
August 5th, 2007, 10:39 PM
A default Apache configuration only allows for index.html.
index.htm should be added immediately after installing. I don't even know why it isn't there to begin with.
index.php is added manually by server administrators because PHP is an extremely common thing. Believe it or not, installing PHP does not add the DirectoryIndex.
That's just my 2 cents.

jcap
August 5th, 2007, 11:04 PM
Assuming you're running Apache on your web server, you can specify the DirectoryIndex which tells the web server which file to look for as the index. By default, it will look for the index in the following order:

index.html
index.htm
index.shtml
index.php
index.php4
index.php3
index.phtml
index.cgi
index.asp
default.asp
index.mv
default.htm
index.pl
index.py
index.cf

If you insist on the index being default.html, then change the file extension to .htm. If that doesn't work, then modify (or create if it doesn't ready exist) your .htacess file to say:

DirectoryIndex default.htm

and then save and upload. If the issue persists, then just stick with index.htm...