how to create Public_html folder

Biff

New member
Joined
Jun 2, 2007
Messages
4
Hey all,

Newb here and I have a quick (and probably stupid) question.

I accidentally deleted my Public_html folder today... long story!! Anyway, how can i create a new one? :o
 
Code:
cd /home/[b]user[/b]/domains/[b]domain[/b]
mkdir public_html
chown [b]user[/b]:[b]user[/b] public_html
chmod 755 public_html

Change words in bold.
 
You can also do it from the File Manager. And also its public_html not Public_html. Case matters.
 
Thanks for replying guys



Code:
cd /home/[b]user[/b]/domains/[b]domain[/b]
mkdir public_html
chown [b]user[/b]:[b]user[/b] public_html
chmod 755 public_html



Change words in bold.

Like i said, i'm a total newb so where would i enter this??


You can also do it from the File Manager. And also its public_html not Public_html. Case matters.



And i tried this but when i uploaded the new files the site still hasn't changed. The old public_html file had a red arrow on it in the File Manager, the one i created doesn't?

Any more ideas??
 
Whats that?? :o I'm sorry to be such a pain in the ass but I know very little about computers.... :o
 
The one with the red arrow was the symlink to the real public_html folder. It is not necessary. The real public_html folder is supposed to be in /home/your_username/domains/your_domain_name/ Check that.

Also its helpful to tell us what the domain is so we can check it. You may have a problem you don't know about like the domain expired or its not a registered domain or not pointing to the correct nameservers. That is the main reasons my customers domains don't work.
 
All sorted. The folder wasn't deleted :o just the link to it like you said Floyd. :)

Thanks a million guys, i owe you one!
 
Same problem!

Hi!
I have same problem, but could not find answer yet here.
I accidentally deleted my Public_html folder today.
How to create it?
:confused:
I dont know how to use code, but maybe I can create it by File Manager?
I checked already here : /home/your_username/domains/your_domain_name/ .
Help me please! :)
 
Last edited:
Back
Top