I'm having trouble getting my site online

kwin

Registered
Jul 8, 2008
3
0
51
I'm making a website for my husband's company and the other day he was too eager to wait for me to get home so he decided to try to put the site online, but it wont come up, it says error 404 not found. There was a lot of junk in the folder because I hadn't had a chance to move all the random stuff to another file. I assumed it was because of all that junk that the site wasn't working.

So I asked my friend if I could delete everything and start over. He told me I could delete everything in the remote site except for the www folder and start over. So this is what I did, and now it wont work and I guess I was supposed to put all of my info into the www folder, but I cant even open that folder. When i try to open that folder in cpanelx it says "broken symbolic link to `public_html' ".

Maybe i'm way over my head, but I was wondering if anyone could help me or may see an obvious problem that I don't. Thank you.
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
Houston, TX
cPanel Access Level
Root Administrator
I'm making a website for my husband's company and the other day he was too eager to wait for me to get home so he decided to try to put the site online, but it wont come up, it says error 404 not found. There was a lot of junk in the folder because I hadn't had a chance to move all the random stuff to another file. I assumed it was because of all that junk that the site wasn't working.

So I asked my friend if I could delete everything and start over. He told me I could delete everything in the remote site except for the www folder and start over. So this is what I did, and now it wont work and I guess I was supposed to put all of my info into the www folder, but I cant even open that folder. When i try to open that folder in cpanelx it says "broken symbolic link to `public_html' ".

Maybe i'm way over my head, but I was wondering if anyone could help me or may see an obvious problem that I don't. Thank you.
You really should have your hosting provider assist you with this. Note, by deleting those files, you also deleted any email you had on that server.
 

koolcards

Well-Known Member
Oct 8, 2003
146
0
166
Tampa, Fl
:D Sorry.:D Falling down laughing. "A friend in need is a friend indeed".
Do yourself a favor and don't ask that friend for help again.

Yes, your host will have to rebuild the directories in that account for you and then you can upload your files to the "public_html" folder.
 

kwin

Registered
Jul 8, 2008
3
0
51
There wasn't any email on there so we're ok there. I tried to get a hold of my hosting provider, but cant get a hold of him. I was trying to fix it myself and was wondering if anyone could see what's wrong. I've been researching and trying to figure it out, but I think I deleted something I shouldn't have. I was just wondering if there was a fix. Thanks anyway :)
 

tukaramg

Member
Sep 22, 2005
15
0
151
Hello,

Please make sure that you have not deleted public_html directory. Your default document root is /home/username/public_html

you need to upload all your web contents to public_html and make sure that the permission of your public_html is correct.

:)
 

fwwebs

Well-Known Member
Feb 16, 2004
328
0
166
As the previous poster stated, you must ensure that the public_html folder was not deleted. However, you stated that the www symbolic link was broken which likely means that the public_html folder was deleted. In this case simply create the public_html folder using an FTP client and check the permissions, though they're usually correct. Then upload your files to the public_html folder or the www folder, which should be the same.