Lion
05-19-2001, 04:57 PM
When I create new account you see all folders and files of this domain, How I can change index page for new accounts by WHM.
Thank you.
Thank you.
![]() | View Full Version : Index page and WHM Lion 05-19-2001, 04:57 PM When I create new account you see all folders and files of this domain, How I can change index page for new accounts by WHM. Thank you. bert 05-19-2001, 05:02 PM If you are referring to the index file that gets created in the /home/username/public_html directory when you create a site, just make one your self and put it in: /root/cpanel3-skel/public_html I hope this helps :) Lion 05-19-2001, 05:53 PM How I can login to: /root/cpanel3-skel/public_html :( bert 05-19-2001, 06:10 PM Originally posted by Lion How I can login to: /root/cpanel3-skel/public_html :( OK, here is what you need to do, create your index.html, upload it to a site, then access your box with telnet or SSH. Go to a command prompt like dos and do this: telnet 192.168.1.1 (your IP address) enter unsername and password, once logged in enter the following command: su - enter root password and then just copy the file you uploaded to the site to the /root/cpanel3-skel/public_html directory, you do this by typing this command: cp /home/path-to-where-you-uploaded-file/index.html /root/cpanel3-skel/public_html/index.html that should copy the index.html to the /root/cpanel3-skel/public_html directory ....and that is it you are done! :) Lion 05-19-2001, 06:16 PM bert, Thank you :D bert 05-19-2001, 07:46 PM Glad to help! :) Lion 05-22-2001, 08:03 PM When I am typing this command: cp /home/C:/index.html /root/cpanel3-skel/public_html/index.html Telent reply: No such file or directory :bawling: Any one help me please Annette 05-22-2001, 08:10 PM The instructions assume that you have already uploaded the index page you want to use as a holder to the server. So if you upload it to your own account, you would type cp /home/yourusername/somefile.html /root/cpanel3-skel/public_html/index.html Replace 'yourusername' and 'somefile.html' with whatever is appropriate. If you have put the file in a directory under your username on the server, then include the path as well: cp /home/yourusername/path_to_file/index.html /root/cpanel3-skel/publich_html/index.html Alternately, you can send the file directly once you have SSHd to the server by typing send c:\path_to_file\index.html /root/cpanel3-skel/public_html/index.html bert 05-22-2001, 08:11 PM Originally posted by Lion When I am typing this command: cp /home/C:/index.html /root/cpanel3-skel/public_html/index.html Telent reply: No such file or directory :bawling: Any one help me please You are doing it wrong Lion, the syntax is as follows: cp /home/path-to-the-file-you-want-to-copy /root/cpanel3-skel/public_html/index.html For example, lets suppose that you create a file called index.html and that your username is lion, lets also suppose that you upload this file with FTP and place it inside of the public_html directory of your site. Well, you would need then to type this: cp /home/lion/public_html/index.html /root/cpanel3-skel/public_html/index.html bert 05-22-2001, 08:12 PM Annette, do you use Cpanel and WHM? Annette 05-22-2001, 08:20 PM Yes, in addition to the Alabanza DSM/cp. Well rounded, don't you know. :) Lion 05-22-2001, 08:26 PM Nice :D Thank you. bert 05-22-2001, 08:42 PM Originally posted by Annette Yes, in addition to the Alabanza DSM/cp. Well rounded, don't you know. :) I was just asking 'cause I saw your site and I liked it. You've got a nice business going there. :) |