How to Create a Website File

Creating a new website file is a way of manually adding another page to your website. Sometimes, it can also be one of the solutions provided to fix your website. There are two ways on how to create one:  

Via File Manager in cPanel  

This process is the easiest and most appropriate if you have access to your web hosting panel (cPanel).  

Step 1. Log in to cPanel.  

Step 2. Click the File Manager button under the Files category.  

File Manager Button in cPanel

Step 3.  Open or create the folder where you want to add the new website file. In this article, testwebsite is the sample folder where we add it. If you only host one website on the cPanel, your website files must be in public_html folder.  

Step 4. Click the +File button at the top of the page.  

Add File Button in cPanel File Manager

Step 5. Enter the file name for the new website file in the box provided.  

Enter File Name in cPanel File Manager

Step 6. Click the Create New File button 

Create New File Button in cPanel File Manager

Step 7. The same page will show the newly created file. Right-click on the file and choose Edit 

Edit File in cPanel File Manager

Step 8. Click the Edit button on the pop-up.  

Edit File Pop up in cPanel File Manager

Step 9. Enter the texts or codes in the empty field.

Text Field in cPanel File Manager

Step 10. Click the Save Changes button to save the text added on the file.

Save Changes Button in cPanel File

A Success message will show on the bottom right corner of the page once the changes are successfully saved 

Success Message in cPanel File Manager

Via Text Editor and FTP 

This option is applicable if you have FTP access. This process needs the text editor from your computer. See the steps below on how to create a new website file.  

Step 1. Open a text editor from your computer (e.g., Notepad for Windows, TextEdit for Mac). 

Step 2. Enter the texts or codes in.  

Enter Text in Text Editor

Step 3. Save the document with the website file name.  

Step 4. Connect to FTP on your Windows computer or connect to FTP on your Mac computer.  

Step 5. Upload the file to your web hosting server using an FTP software.  

If you require any assistance or, if you’ve encountered any issues, you may contact our Singapore  and Australia  Support Team, we’re available 24/7 to help you out. 

(Visited 881 times, 1 visits today)