ThisCalculator

Everyday

How to Manually Set Up WordPress on a Domain

Updated · Standard formula, shown below

This guide walks you through installing WordPress manually on your own domain, giving you full control over the files and database. You’ll learn the exact steps to upload the WordPress files, create a database, run the installer, and get your site live—no one-click tools required.

What You’ll Need

  • A registered domain name (e.g., yoursite.com) with DNS pointing to your web host.
  • A web hosting account with FTP/SFTP access and a database (most shared hosts provide these).
  • An FTP client (like FileZilla) or your host’s file manager.
  • The latest WordPress zip file from wordpress.org (download it before you start).
  • Your hosting control panel login (cPanel, Plesk, or similar) to create a database.

Step-by-Step

  1. Download WordPress – Go to wordpress.org and download the latest version as a .zip file. Extract it on your computer to a folder named wordpress.
  2. Create a database – Log into your hosting control panel. Look for “MySQL Databases” or “Database Wizard”. Create a new database, a database user, and assign that user to the database with ALL PRIVILEGES. Write down the database name, username, and password—you’ll need them in a moment.
  3. Upload the files – Connect to your server via FTP or use the file manager in your control panel. Navigate to the public_html folder (or the document root for your domain). If you want WordPress at the root (e.g., yoursite.com), upload the contents of the extracted wordpress folder, not the folder itself. If you want it in a subfolder (e.g., yoursite.com/blog), upload the folder and rename it as needed.
  4. Set file permissions (if needed) – On most hosts, the default permissions work. If you see file permission errors during install, set folders to 755 and files to 644 via FTP.
  5. Run the installer – Open your browser and go to your domain (e.g., http://yoursite.com). You’ll see the WordPress setup screen. Select your language and click “Continue”.
  6. Enter database details – The installer asks for Database Name, Username, Password, Database Host, and Table Prefix. Enter the details from step 2. Leave Database Host as localhost unless your host tells you otherwise. Table Prefix can stay as wp_ for security, you can change it to something random. Click “Submit”.
  7. Run the install – WordPress checks the database connection and shows a “Run the installation” button. Click it.
  8. Fill in the site details – Enter a Site Title, a Username (avoid “admin”), a strong password, and your email address. Choose whether you want search engines to index the site (you can change this later). Click “Install WordPress”.
  9. Log in – After installation, you’ll see a success message. Click “Log In” and enter your new username and password. You’re now in the WordPress dashboard.
  10. Finish setup – Go to Settings > General to set your site URL and timezone. If you installed in a subfolder, make sure the WordPress Address and Site Address are correct. Then install a theme and start building.

Common Mistakes

  • Uploading the wrong folder – Uploading the wordpress folder itself instead of its contents results in your site being at yoursite.com/wordpress when you wanted it at the root.
  • Database user not linked – Forgetting to add the user to the database with privileges causes a “connection refused” error.
  • Wrong database host – Some hosts use a specific hostname (like mysql.yourhost.com) instead of localhost. Check your host’s docs.
  • Using ‘admin’ as username – This is a security risk; bots will try to brute-force it.
  • Not writing down database details – If you lose them, you’ll have to reset or recreate the database.

Tips

  • Use a strong password for the database user and the WordPress admin account. Consider a password manager.
  • Before installing, check that your domain’s DNS is fully propagated (use a tool like dnschecker.org). If not, you might see a “site can’t be reached” error.
  • If you’re installing in a subfolder, upload the files there first, then run the installer by visiting yoursite.com/subfolder.
  • After install, go to Settings > Permalinks and choose a pretty permalink structure (e.g., Post name) to get clean URLs.
  • Install an SSL certificate (usually free via your host) so your site runs over HTTPS.

Troubleshooting

  • “Error establishing a database connection” – Double-check the database name, username, password, and host in your wp-config.php file. If you edited the file manually, ensure there are no typos.
  • Blank white screen after install – This often means a PHP error. Enable debugging by editing wp-config.php and adding define('WP_DEBUG', true); to see the error message. Common causes: missing files, wrong file permissions, or a theme/plugin conflict.
  • “Headers already sent” error – This usually happens if there’s extra whitespace or a BOM in wp-config.php. Open the file in a code editor and remove any spaces before <?php.
  • Can’t log in after install – If you forgot your password, use the “Lost your password?” link on the login page. If that fails, use phpMyAdmin to reset the password (search for the user row and update the user_pass field with an MD5 hash).
  • Site shows directory listing instead of WordPress – This means the server isn’t reading index.php. Check that you uploaded the files correctly and that .htaccess exists (it may be hidden). If not, create a blank .htaccess file in the root.
  • 404 errors on pages after installing – Go to Settings > Permalinks and click “Save Changes” to flush the rewrite rules.

Frequently Asked Questions

Do I need a hosting plan to install WordPress manually?

Yes, you need a web server with PHP and MySQL. Most shared hosting plans include these. You can also use a local server like XAMPP for testing, but for a live domain, you need hosting.

Can I install WordPress without using FTP?

Yes, most hosting control panels have a File Manager that lets you upload and extract the WordPress zip directly on the server. This is often faster than FTP.

What is the difference between manual and one-click install?

One-click installs (like Softaculous) automate the process, but they may use your host’s default settings. Manual install gives you control over the database, file structure, and configuration, which can be useful for advanced setups.

How long does a manual install take?

Once you have the files and database ready, the actual installation takes about 5 minutes. The upload time depends on your internet speed and hosting.

What if I already have content on my domain?

If you have an existing site, installing WordPress will overwrite the index.php file. Back up your existing files and database before proceeding. You can also install WordPress in a subfolder and later move it.

Can I install WordPress on a subdomain?

Yes, the process is identical. Just upload the files to the subdomain’s document root (e.g., sub.yoursite.com) and create a separate database for it.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.