Control Web Panel
WebPanel => CentOS Configuration => Topic started by: angelbro on February 10, 2018, 09:53:02 AM
-
Hi everyone. :)
I think there is no ways or script to create index.html when I add a domain.
Am I right?
When I add user account, CWP makes file named index.html in directory of new user account.
And if necessary I make some files or directories in "/usr/local/cwpsrv/htdocs/resources/admin/tpl/new_account_tpl".
But when I add a domain or subdomain, CWP makes nothing.
How can I configure this?
Is there any script that I don't know?
Sorry for my bad english.
-
index.html/php in end user home spaces (public_html) are not created by CWP scripts. You need to upload whatever you want to be on display to each end user's home space
-
you can navigate to cd /usr/local/cwpsrv/htdocs/resources/admin/tpl/new_account_tpl
replace index.html with your index.html text and when a new account is created CWP will copy your index.html file to user public_html folder.
-
index.html/php in end user home spaces (public_html) are not created by CWP scripts. You need to upload whatever you want to be on display to each end user's home space
Thank you for ypur reply.
I hope next upgrade reflects that.