Installing WordPress#
WordPress powers over 40% of all websites on the internet, and HostsNix makes installing it as easy as filling out a form. With one-click WordPress installation, your site is ready to use in under a minute — complete with a database, admin account, and SSL certificate.
One-Click WordPress Installation#
Follow these steps to create a new WordPress website:
- Navigate to Websites from the sidebar
- Click “+ Add New Website” in the top right corner
- Enter your domain name (e.g.,
myblog.com). Make sure the domain’s DNS A record already points to your server’s IP address - Select your preferred PHP version:
- PHP 8.2 is recommended for the best compatibility with WordPress 6.x
- PHP 8.3 works with the latest WordPress but some older plugins may not be compatible yet
- Choose “WordPress” as the framework
- Fill in the WordPress setup details:
- Site Title — Your website’s name (can be changed later in WordPress settings)
- Admin Username — The WordPress admin login (avoid using “admin” for security)
- Admin Password — Use a strong password with mixed case, numbers, and symbols
- Admin Email — Your email address for admin notifications and password recovery
- The “Create Database” option is automatically enabled — WordPress needs a database
- Click “Create”
HostsNix will automatically:
- Create the website directory and Nginx virtual host
- Download and extract the latest WordPress version
- Create a MySQL database and database user
- Configure
wp-config.phpwith the correct database credentials - Run the WordPress installation wizard
- Set proper file permissions (755 for directories, 644 for files)
Within seconds, your WordPress site is live and ready to customize.
WordPress One-Click Login#
One of HostsNix’s most convenient features is the one-click WordPress admin login. On the Websites page, WordPress sites have a special login button that instantly logs you into the WordPress admin dashboard — no username or password entry required.
This feature uses a secure, time-limited authentication token that expires after a single use. It’s completely safe and saves significant time when managing multiple WordPress sites.
After Installation#
Once WordPress is installed, here are the recommended next steps:
- Enable SSL — Go to Website Settings → SSL Management and generate a Let’s Encrypt certificate
- Install a theme — Go to Appearance → Themes in the WordPress admin to choose or upload a theme
- Install essential plugins — Consider adding a security plugin, caching plugin, and SEO plugin
- Set permalinks — Go to Settings → Permalinks and choose “Post name” for SEO-friendly URLs
- Set up backups — Create a backup schedule in HostsNix to protect your WordPress data
Troubleshooting WordPress Installation#
Site shows “Error establishing a database connection”: The database credentials in wp-config.php may be incorrect. Check the Databases page for the correct credentials and verify them in the File Manager.
WordPress admin is very slow: Check your PHP memory limit in Website Settings → PHP Settings. Increase memory_limit to at least 256M and max_execution_time to 300.
Can’t upload large files: Both upload_max_filesize and post_max_size in PHP Settings control the maximum file upload size. Increase both values to match your needs (e.g., 128M for media-heavy sites).