Please someone help me with my problem

Status
Not open for further replies.

revan619

New Member
Messages
12
Reaction score
0
Points
0
hi..
i completed my website with adobe dreamweaver cs3 and i know how to upload it and stuff but when im finished uploading it.. i try to go to my subdomain which is gamecentral.x10hosting.com and it gives me this 404 error.. and when i try to view the web sites from file manager it gives me the writing and not the actual web design and stuff..

please help me
 

kajasweb

New Member
Messages
1,723
Reaction score
0
Points
0
I am not getting you completely...

But, check whether you have uploaded your files to public_html directory and all the files are given proper permissions.

Home page should be index.html / index.php

All the best
 

revan619

New Member
Messages
12
Reaction score
0
Points
0
there was a file of that name index.html or index.php and i deleted it...
Edit:
I am not getting you completely...

But, check whether you have uploaded your files to public_html directory and all the files are given proper permissions.

Home page should be index.html / index.php

All the best


ok i deleted all the files that i uploaded and than i went back to cs3 and tried to upload them to public_html directory and it tells me that it cant be found or cannot connect to it
 
Last edited:

kajasweb

New Member
Messages
1,723
Reaction score
0
Points
0
The path for your public_html directory is

Code:
/home/<yourusername>/public_html
 

Monster12

New Member
Messages
29
Reaction score
0
Points
0
Buddy simply
1.login to Your Cpanel wid your user id and password...
2. Go to your file manager.
3.go to this public_html folder in ur home directory.



4. u can delete the www folder inside public_html and then upload fresh ... (or move contents of ur public_html/www directory to public_html)

if u chose to upload fresh
5. upload your index file and other images n files here .



6. once upload shows 100%. target ur browser to
your username.x10hosting.com ...
u must be able to see ur site...
 
Last edited:

kajasweb

New Member
Messages
1,723
Reaction score
0
Points
0
Oops!... I don't think, there is a DIRECTORY with name www inside public_html.

public_html is the directory in your user directory. www can be found in /home/<yourusername>. But, that is a LINK to public_html. Its NOT an actual directory. Modifying contents inside www will be reflected in contents of public_html.

Please re-check the information. Staff members Correct me, If I'm wrong.
 

Monster12

New Member
Messages
29
Reaction score
0
Points
0
yeah buddy i agree wid u ... but i think revan has made a www directory inside his public_html directory..and uploaded his files inside this www directory with in public_html ... so wen he types his domain name

http:gamecentral.x10hosting.com

it shows him the www directory..
while on getting insidewww i.e.

http:gamecentral.x10hosting.com/www/

his index page is visible.
 
Last edited:

kajasweb

New Member
Messages
1,723
Reaction score
0
Points
0
Oh!.. OK.. Then, he can delete the "www" directory inside public_html and the files can be uploaded to public_html directory directly.

BTW, The home page should have index.html or index.php and files should have proper permissions.

I'm NOT able to see this home page inside www directory. I just see the HTML source.
 
Last edited:

revan619

New Member
Messages
12
Reaction score
0
Points
0
thanks guys and i will try to do the stuff above if that still doesnt work ill message back
Edit:
Oh!.. OK.. Then, he can delete the "www" directory inside public_html and the files can be uploaded to public_html directory directly.

BTW, The home page should have index.html or index.php and files should have proper permissions.

I'm NOT able to see this home page inside www directory. I just see the HTML source.


ok i did all of the things above me and i found public_html directory but now that i have my files up on it when i go to the web.. www.gamecentral.x10hosting.com it gives me the index... idk wat happened
 
Last edited:

revan619

New Member
Messages
12
Reaction score
0
Points
0
Your main page needs to be index.html or index.php, or it will give you that.

ok so my main page which is saved as untitled-2
i should save it as index.html and than upload it
Edit:
ok i finally got it thank you very much for those who helped me out...
Edit:
omg lol..
ok it worked and than i deleted all the files so i can update it..
and when i uploaded tham again it doesnt work i dont know what happened... i put them in the right directory and stuff but idk

the web is www.gamecentral.x10hosting.com

can someone please check this
 
Last edited:

kajasweb

New Member
Messages
1,723
Reaction score
0
Points
0
You didn't uploaded your homepage with index.html or index.php as name. I just saw a directory .smileys and a PHP file with name .wysiwygPro_edit_Index_html.php
 

kkitty

New Member
Messages
2
Reaction score
0
Points
0
You've mentioned file permissions....is there a need for anyone but the owner/administrator to have access? Since public_html is viewable by everyone(according to Corey's "getting started" info it seems like the files need to be individually protected (ie 700) esp. php files which contain database connection strings. I was going to put my php files in a different directory (ie: /home/userid) that is not publicly accessible but I gave up after getting 404 errors no matter how I referenced the parent directory of public_html. Any suggestions?
thx
 

kajasweb

New Member
Messages
1,723
Reaction score
0
Points
0
No. You have to put all your files inside "public_html" directory only. Just give 644 Permission for PHP Files.
 

kkitty

New Member
Messages
2
Reaction score
0
Points
0
If files have -44(read to group and others) then won't the database connection strings in the php files be exposed?
 
Status
Not open for further replies.
Top