Support Guides

Intermediate

Some familiarity with web hosting or the relevant control panel expected.

PHP mail() vs SMTP: what’s the difference?

PHP mail() sends messages straight from the web server without logging in to any mail account. Simple Mail Transfer Protocol (SMTP) sends through a real mail account with a username and password, so receiving servers can verify the sender. Messages from…

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 update WordPress URLs after a migration

Install the Better Search Replace plugin, open Tools, Better Search Replace, enter the old and new URLs, select all tables and run a dry run first. From the terminal, run wp search-replace with the old and new URLs plus --all-tables, testing with --dry-run…

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…

How to fix WordPress Images not displaying

Open the image's File URL from Media, Library in a browser, and re-upload the file if it returns a 404 error. Wrong permissions also hide images, so set upload folders to 755 and files to 644. The Better Search Replace plugin can swap old HTTP image addresses…

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 set up SSH agent

Start the agent on Linux or macOS by running eval on the output of ssh-agent -s, or set the ssh-agent service to Automatic in an administrator PowerShell on Windows. Load a key with ssh-add ~/.ssh/id_ed25519 and enter its passphrase once. The agent then…

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…

How to manage Node.js versions with NVM

Install Node Version Manager (NVM) with its official curl install script, then reload your shell with source ~/.bashrc. Run nvm install 20 to add a version and nvm use 20 to switch to it for the current session. The command nvm alias default 20 sets the…

How to connect to PostgreSQL using Node.js

Install the node-postgres driver by running npm install pg in your project folder over Secure Shell (SSH). Create a Client from pg with your host, database, user and password, then await client.connect() before calling client.query(). Close the connection…