Editing a website’s code is often needed to update a site, but doing this to the live website could create downtime and other unwanted effects. Instead, its ideal to create an environment especially for developing new ideas. In this tutorial, we will explore creating a development site specifically for CentOS servers. Continue reading “Setup a Development Environment for CentOS using cPanel”
Often we want to edit our domain’s code, but on a production website, this can be dangerous. Making changes to the production site would not only allow all of the Internet to see unfinished changes but could also cause errors to display. As a workaround, we’ll create a testing domain or “dev” domain to work out any bugs and changes to the site.
As a warning, this is advanced technical work. It’s possible to make mistakes and cause downtime on your live domain. If you are not 100% confident, it may be a good idea to hire a system admin or developer to copy the domain for you.
II. Understanding Menu Items in File Manager
III. Understanding File Structure in File Manager
IV. How To Create New Files and Folders in File Manager
V. How To Copy and Move Files in File Manager
VI. How To Rename Files in File Manager
VII. How To Upload and Download Files with File Manager
VIII. How To Edit Files with File Manager
IX. How To Change File Permissions with File Manager
X. How To Zip and Unzip Files in File Manager
This tutorial assumes you’ve already logged in to cPanel’s File Manager.
- Select the file you want to copy. Let’s select testfile.html.
- Click on Copy.
- Please type the file destination, in this case, we will use the “test” folder, then click on Copy File(s).
You have successfully copied the file. To check it, either double click on the “folder name” in the right margin, or single click on the “folder name” in the left margin.
It’s there. You have successfully copied the file.
- Now let’s Move newtest.html to thepublic_html folder. Select newtest.html, and click Move file.
- Make sure your path is public_html only. Now click on Move file(s).
- Notice that the newtest.html file is gone from this list. To confirm that it has moved to public_html, click it in the left margin.
Congratulations, you have successfully moved the file. You can also copy multiple files by simply pressing the control key, selecting them and dragging the files to the destination folder in the right margin. Or you can move a single file by just dragging it to the destination folder in the left margin.