Support Guides

Web Hosting Guides

Guides for making the most of your shared hosting package, covering common setup tasks and day-to-day management.

How to set a user agent for your web application

Give each request a descriptive user-agent string in the AppName/Version pattern, such as MyApp-Monitor/1.2.0. With curl, add -A followed by the string, and with wget, use the --user-agent= flag. In PHP, set user_agent in a stream context or CURLOPT_USERAGENT…

How to query documents by date range in MongoDB

Filter with find() and comparison operators on the date field: $gte and $lte include the boundary dates, while $gt and $lt exclude them. Combining two operators on one field, such as $gt with $lt, returns documents between two dates. MongoDB stores dates in…

How to change DNS resolver on Windows 10

Open Settings, Network & Internet, Change adapter options, then right-click your active connection and choose Properties. Select Internet Protocol Version 4 (TCP/IPv4), click Properties and enter preferred and alternate DNS server addresses. Cloudflare's…

How to take your website offline

To hide the site from everyone but you, add an .htaccess rule that denies all visitors except your own IP address. A 307 redirect in .htaccess sends visitors to a maintenance page without changing search engine indexes. Deleting or repointing the domain's A…

How to find error log files in cPanel

In cPanel, click Errors in the Metrics section to see recent web server errors. For PHP errors, open File Manager, search for error_log across the home directory and view the file nearest the broken page. PHP writes an error_log file into each folder where a…

How do I add X-Frame-Options to my website?

Add a Header set X-Frame-Options ALLOW-FROM line naming the permitted domain to your .htaccess file. Chrome and Firefox ignore ALLOW-FROM, so add a Content-Security-Policy header with frame-ancestors listing the same domain too. The line Header always unset…

Install n8n on cPanel shared hosting

Install Node.js 20 in your home directory with Node Version Manager (NVM), because the system Node.js is not writable. Install n8n version 1 with npm and the --foreground-scripts flag to stay within CloudLinux process limits. Run n8n under PM2 behind a small…

How to manage subscriptions in Plesk

In Plesk, click Subscriptions in the left sidebar, then Add Subscription, and enter the domain, login credentials and a service plan. Limits for a single subscription change from its Hosting Plan tab by selecting Customize. Picking a different entry in the…

How to install Ghost on cPanel using Node.js

In cPanel, open Setup Node.js App and create an application with a Ghost-supported Node.js version, an app root and a URL. Over Secure Shell (SSH), activate the app's environment and run npm install ghost-cli@latest -g, then ghost install local --no-setup in…

How to create a Node.js app in cPanel

In cPanel, open Setup Node.js App in the Software section and click Create Application. Enter a folder name for the application root and a path for the application URL, such as helloworld for both. Choose the latest long-term support Node.js version and click…