PDA

View Full Version : Website will not come up instantly.



pdm
02-20-2007, 08:12 PM
Why is it in a list? Why won't it come up like other websites do?

RDM
02-20-2007, 08:34 PM
you need to have an index.html file in the folder

pdm
02-21-2007, 02:00 AM
Well I went back and tried to publish through the program I used to build the website and it created an index.html for me. I uploaded it and it did do away with one list. But when I type in my url a list still comes up and I have to click on my website name to open my website. Check it out at www.portraitdumonde.com. THANKS for your reply RDM.

esabogal
02-21-2007, 06:38 AM
The index.html must be on the public_html folder.

From visiting your page the index.html is on the PortraitDuMonde folder.

pdm
02-21-2007, 09:02 AM
I tried putting the index in the public folder and then it gave me links but wouldn't bring my website up at all, a 404 error. Thanks for trying to help me anyway, esabogal. I appreciate all the help you guys give me.

esabogal
02-21-2007, 09:34 AM
The solution is to move all files to the public_html.

RDM
02-21-2007, 09:43 AM
There are several ways that you can get this to work. All of your files in the PortraitDuMonde/ folder should be moved up one directroy. So that everything in that folder is now in the public_html folder. Not in it's own PortraitDuMonde folder. (That's what the public_html folder would be)

Then when you got to www.portraitdumonde.com it will show your site.

You can also create a forwarding index.html file that will point www.portraitdumonde.com to the PortraitDuMonde/ folder, but then the URL would look like, www.portraitdumonde.com/PortraitDuMonde. If that's ok then make an index.html file that looks like this:



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="refresh" content="0;url=http://www.portraitdumonde.com/PortraitDuMonde/">
<title>Portrait DuMonde</title>
</head>

<body>
</body>
</html>


There is one other way and that's to make an .htaccess file. It's more complex but it will mask or do a silent redirect to the PortraitDuMonde folder while keeping the URL www.portraitdumonde.com. First see if the first two options will work before we try this one.

pdm
02-21-2007, 03:47 PM
That worked RDM, moving all the files instead of the folder. Can't thank you enough. I'm so happy now. Thank you too easabogal. You guys are great!