I think I messed up. Please help

Status
Not open for further replies.

jgoodma9

New Member
Messages
7
Reaction score
0
Points
0
I thought that I had to replace my index file to view my site, so I deleted it. After I uploaded my site, it worked for a bit, Now I get a 404 error and it says my site doesnt exist. Can you help? Do i need to have my index file?
Edit:
Sorry, I posted on the wrong forum account. I wrote theis post. This is my accoutn user name
 
Last edited:

mdatab

New Member
Messages
29
Reaction score
0
Points
0
Could you explain the problem more clearly? Do you mean you don't have any index page in you public_html folder?
 

coolv1994

Member
Messages
508
Reaction score
0
Points
16
Then rename you home page to index.php or index.html and that should fix your problem
index.php for dynamic pages
index.html for static pages
 
Last edited:

jgoodma9

New Member
Messages
7
Reaction score
0
Points
0
Thats right. I dont have an index page in my public folder, I deleted it and then uploaded my site from my C:// drive. Can you log into my account and see what the problem is?
 

mdatab

New Member
Messages
29
Reaction score
0
Points
0
Well buddy, where did you upload the site? any subfolder?
 

coolv1994

Member
Messages
508
Reaction score
0
Points
16
make sure you make an index file in public_html otherwise your site wont work
 

bugfinder

Retired
Messages
2,260
Reaction score
0
Points
0
When you uploaded it, which folder did you put it in, and what was it called?
 

jgoodma9

New Member
Messages
7
Reaction score
0
Points
0
Its in my public folder. There is 2. One is Bermuda-Crusises.htm and one is Auto-Glass.htm. My previous index file that now wont work is "http://BermudaCruises.X10Hosting.com"
Edit:
How do I create an index file? Can you do that for me? I have 2 sites that I put in my public folder. One is Bermuda-Cruises.htm, and the other is Auto-Glass.htm. My main page that wont load is http://BermudaCruises.X10Hosting.com.
 
Last edited:

coolv1994

Member
Messages
508
Reaction score
0
Points
16
are you using a ftp or cpanel? if cpanel just click 'create new page' and type index.html and select html from the drop down menu
 

jgoodma9

New Member
Messages
7
Reaction score
0
Points
0
Im using ftp. In file manager, I dont see an option for create new page. Do i click on New File?
 

jgoodma9

New Member
Messages
7
Reaction score
0
Points
0
I thin kI just need to delete everything and sign up for a new account. I cant figure this out.
 

mdatab

New Member
Messages
29
Reaction score
0
Points
0
OK, create a new index page. And link it to the two pages. It'll work. Provide your website link please.
 

coolv1994

Member
Messages
508
Reaction score
0
Points
16
if this helps in your index page put this code in
HTML:
<html>
<head>
<script type="text/javascript"> window.location = 'home_page.htm';</script>
</head>
<body>
<a href="home_page.htm">Click here if you are not redirected.</a>
</body>
</html>
replace home_page.htm with your page
 

coolv1994

Member
Messages
508
Reaction score
0
Points
16
use this code in the between <body> and </body>
<a href="page1.htm">Page 1</a>
<a href="page2.htm">Page 2</a>
 
Status
Not open for further replies.
Top