Website File Locations

Started by Administrator, October 21, 2014, 06:55:06 AM

Previous topic - Next topic

Administrator

Website on my Domain
All websites must be uploaded in the users public_html folder.

For example
- create new user
- upload new website using FTP to the users /home/USERNAME/public_html/ folder.

If you upload website as root then you can run "Fix Permissions" from the Users Menu in  the CWP, this will set  required permissions for all files in the users home folder.





AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy


Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp





Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor











Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services

Bosman

Is it possible to change this to: /home/USERNAME/domains/DOMAIN_NAME/public_html?

I changed it in the vhosts now, but if I create new user this is not applied.

Regards,

Bosman
Modify message

erm3nda

Bosman, you must edit the vHost templates.

This is applied when:

  • A new domain/subdomain is created.
  • When you use vHost rebuild option.
8==D it's a function that try to compare 8 (int) against D (string) which returns True or False depending on the asker.

Bosman

erm3nda,

I did change the vhosts, but when I make a new user the old standard vhost folder structure is added to the server. The vhosts are done correctly but the folder structure not.

Igor S.

Quote from: Bosman
I did change the vhosts, but when I make a new user the old standard vhost folder structure is added to the server. The vhosts are done correctly but the folder structure not.

Try change /etc/skel/ directory.



You can ask me to solve any problem with your server for some money in pm  ;)






Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services

centosuser

Hi,
1. I have created a reseller account,then i added a new domain but now issue is that i am not able to access  the which location of newly added domain & where   i have to upload the file.

the 1st domain having path like /home/username/public html/
for other domain how we can define the path so we will be able to access ftp for particular domain.

2.where a reseller want to delete the domain but cant because its gives error saying that contact admin.

3.If a reseller add multiple domain then in admin panel where o can see that number of  domain added by reseller.
4.once we create mysql DB & user ,How we can reset password & how can we assign same user for mutiple database.
5.



dandumit

hi,
where can I find error log file location ?
thank you,
Daniel

hostguy

Generally, you will find Apache error logs in /var/log/apache2/error_log location.