What is the Hosts File? The hosts file tells your computer which IP address to use for a specific domain name, overriding public DNS. This is useful for testing a website on a new server before updating DNS publicly. Common use case: You’ve built a new website on our servers…
There’s a handful of use cases for redirecting one domain to another and a couple of methods that can be used to achieve it. This guide will walk you through each method. Option 1, Using an Alias domain. 1. Login to your cPanel account. When you first set up an account…
Using WinSCP FTP Client to upload/download files
1. Download an FTP Client. We would recommend using WinSCP, it’s one of the most popular FTP clients and it’s also free! https://winscp.net/eng/download.php Once you have installed WinSCP, we can look at getting connected to the server. We are going connect using your cPanel login credentials. When you first set…
Using FTP to upload/download files
1. Download an FTP Client. We would recommend using FileZilla, it’s one of the most popular FTP clients and it’s also free! https://filezilla-project.org Once you have installed FileZilla, we can look at getting connected to the server. We are going connect using your cPanel login credentials. When you first set up…
Out of memory error with Node.js and cPanel Terminal
Description When running a npm or Node.js command via the Terminal app in cPanel, a “Out of memory” error message is returned. Cause The issue is not typically due to a hosting-level resource limit such as memory or storage. The emulated Terminal app in cPanel itself has an artificial memory…
Next.js “Module not found” when running a Next.js build in cPanel
Description When running npm run build, or next build, npm returns the error “Module not found”. npm ci or npm install shows that all dependencies or modules are installed. Cause Path issue cPanel’s virtual environment causes issue with TypeScript’s path aliases, which can prevent npm build from discovering the location…