Header

Deploying to Leaseweb with DeployHQ

Deploying to your Wordpress site hosted with Leaseweb is simple with DeployHQ. This guide will walk you through the process.

Setting up your project

Head to the Projects screen in DeployHQ, then click the New Project button to get started. You'll be prompted to enter a name for your project, then select where your repository is hosted. Next, click Create project and you'll be taken to a screen where you can log in with your repository hosting account to authorize access and then choose your repository.

Repository Links:

Setting up your Leaseweb server

Once you've configured your repository, you'll need to connect to your Leaseweb server. Head to Servers & Groups, and click the New Server button at the top of the screen.

Start by entering a name, and choosing SSH/SFTP as the protocol.

To find your SSH credentials:

  1. Log into your Leaseweb Control Panel
  2. Navigate to "Servers" or "Hosting" section
  3. Select your specific server or hosting package
  4. Go to "SSH Access" or "Server Details" settings
  5. Generate or view SSH credentials

Important Leaseweb SSH Access Notes:

  • SSH access is standard for most Leaseweb dedicated and cloud servers
  • Steps to enable SSH:
    • Log into Leaseweb customer control panel
    • Go to Server Management
    • Verify SSH access is enabled
    • Set up or reset SSH password
  • Two-factor authentication recommended

Typical Leaseweb Hostname Formats:

  • Dedicated Servers: serverXXX.leaseweb.com
  • Cloud Servers: cloudserver-XXX.leaseweb.net
  • VPS: vps-XXX.leaseweb.com

You can use an SSH key instead of a password by taking the SSH key in your DeployHQ server configuration page and pasting it in your Leaseweb server's ~/.ssh/authorized_keys.

Connection Troubleshooting:

  • Verify SSH is activated for your server
  • Confirm correct hostname
  • Ensure you're using the correct username
  • Check firewall and security group settings
  • Validate credentials in Leaseweb control panel

Typical Wordpress Path:

  • Dedicated/Cloud Hosting: /var/www/yourdomain/
  • WordPress Specific: /var/www/yourdomain/wordpress/
  • Web Root: /var/www/yourdomain/htdocs/

Within Deployment options, you can choose to automatically deploy your server and specify a Deployment subdirectory if needed.

Run your first deployment

By default, DeployHQ will upload the whole repository to your server on the first deployment.

Helpful Deployment Guides:

Further reading

DeployHQ features to enhance your Wordpress deployments:


Want to learn more about deployment or Wordpress? Check out our documentation or contact our support team for assistance.

Tree

Proudly powered by Katapult. Running on 100% renewable energy.