Introduction: This guide will walk you through setting up WordPress on your Virtual Private Server (VPS) using TurnKey Linux. We'll cover accessing your VPS via SSH, completing the initial TurnKey Linux configuration, pointing your domain to your server's IP address, and setting up a Let's Encrypt SSL certificate.
Step 1: Access Your VPS via SSH
-
Obtain Your VPS Details:
- IP Address: Provided in your welcome email.
- Root Password: Provided in your welcome email.
- SSH Port: Default is 22 unless specified otherwise.
-
Install an SSH Client:
- Windows: Download PuTTY.
- macOS/Linux: Use the built-in Terminal application.
-
Connect to Your VPS:
- Open your SSH client.
- For Windows (PuTTY):
- Enter your VPS IP in the "Host Name" field.
- Ensure the port is set to 22.
- Click "Open."
- For macOS/Linux Terminal:
<Your-VPS-IP>
with your server's IP address.
Replace
-
Authenticate:
- When prompted, enter the root password.
- Upon successful login, you'll have terminal access to your VPS.
Step 2: Complete TurnKey Linux First Boot Configuration
Upon first login, TurnKey Linux will guide you through initial setup:
-
Set Root Password:
- You'll be prompted to set a new password for the root user.
-
Configure MySQL Password:
- Set a password for the MySQL
root
user.
- Set a password for the MySQL
-
Set WordPress Admin Credentials:
- Provide a username, password, and email for the WordPress admin account.
-
Configure Domain and SSL:
- Enter your domain name when prompted.
- Opt to configure a Let's Encrypt SSL certificate for HTTPS support.
Step 3: Point Your Domain to Your VPS
Option A: Domain Registered with Us
-
Access Domain Management:
- Log in to your account on our platform.
- Navigate to the "Domain Management" or "DNS Settings" section.
-
Create an A Record:
- Host:
@
(represents the root domain) - Points to: Your VPS IP address
- TTL: Default or 3600 seconds
- Host:
-
Save Changes:
- Apply the new DNS settings.
- Note: DNS changes may take up to 24 hours to propagate.
Option B: Domain Registered Elsewhere
-
Log in to Your Domain Registrar:
- Access the DNS management area.
-
Add an A Record:
- Host:
@
- Points to: Your VPS IP address
- TTL: Default or 3600 seconds
- Host:
-
Save Changes:
- Apply the updated DNS settings.
- Allow time for DNS propagation.
Step 4: Configure Let's Encrypt SSL Certificate
-
Ensure Domain Points to VPS:
- Confirm your domain resolves to your VPS IP.
-
Run Let's Encrypt Configuration:
- During the TurnKey Linux setup, opt to configure Let's Encrypt.
- Follow the prompts to obtain and install the SSL certificate.
-
Verify HTTPS Access:
- Navigate to
https://yourdomain.com
to ensure the SSL certificate is active.
- Navigate to
Step 5: Access Your WordPress Site
-
Visit Your Site:
- Open a web browser and go to
http://yourdomain.com
orhttps://yourdomain.com
.
- Open a web browser and go to
-
Log in to WordPress Admin:
- Navigate to
https://yourdomain.com/wp-admin
. - Enter the admin credentials set during the TurnKey Linux setup.
- Navigate to
-
Begin Customizing:
- Start building your website by selecting themes, adding plugins, and creating content.
Step 6: Management Tools
Additional Resources:
- TurnKey Linux WordPress Appliance: TurnKey Linux: WordPress Appliance
- PuTTY SSH Client: PuTTY Download Page
- Let's Encrypt Documentation: Let's Encrypt Official Site
Note:
- DNS changes can take time to propagate globally.
- Ensure your VPS firewall allows HTTP (port 80) and HTTPS (port 443) traffic.
Tips and Troubleshooting
- SSH Connection Issues: Double-check your VPS IP and password.
- DNS Propagation Delay: Use tools like DNS Checker to confirm changes.
- SSL Errors: Ensure your domain correctly points to your VPS and try re-running the Let’s Encrypt setup