need serious help with file management

redsre

New member
Joined
May 11, 2008
Messages
4
I have somehow really screwed my website up. I don't know what has happened but no matter what I do I cannot view my files on my website (http:www.reds-remedies.com). It keeps giving me the 404 error. I think I have created a monster within my file management system. Can someone tell me how it is supposed to be set-up? In the example below am I supposed to place my files in the public_html folder or go into the domains folder then click on my domain name then the public_html folder? I don't understand that flow of file management that gets people viewing the website to the pages. I'm sorry I am just so very confused and frustrated and I have no idea what to do. If anyone can help me and let me know how it's supposed to be set-up I would so greatly appreciate it! -KT:confused:
 
KT,

Your website's files should be in the domains/yourdomain.com/public_html folder. DirectAdmin also creates a symlink folder in your public_html folder, but I think it's best just to ignore that so you don't get confused. Just move all of your website's files into the domains/yourdomain.com/public_html folder.
 
One more question- how do I change the red arrow from the private_html to the public_html folder? In the domain set-up area it only gives me two options... 1) Use a directory named private_html (or) 2) Use a symbolic link from private_html to public_html- allows for same data in heep and https. I don't understand why it only gives me these two options and why in the example on the site-helper page there is a red arrow on the public_html folder but there isn't on in my filemanager. Thanks. -KT
 
I have no idea what happened or how you knew to do that... I've been trying to figure it out for months. It worked! My website is back up and running. Thank you so very much! :)
 
KT,

The two options under the domain setup area do the following:

Use a directory named private_html: this creates a second folder in your domains/yourdomain.com/ folder that is used whenever a visitor attempts to access your site via SSL. To say this another way:

If they visit your site: http://www.mywebsite.com they will access the files in the public_html folder.

If they visit your site: https://www.mywebsite.com they will access the files in the private_html folder.

Using a symbolic link deletes the private_html folder and adds a link to the public_html folder in its place. The result is visitors will access the files in your public_html folder for both regular http and https. Again, saying this another way:

With a symbolic link http://www.mywebsite.com and https://www.mywebsite.com load the same files.

I'll subscribe to this thread in case you have any other questions.
 
Back
Top