How To Manually Set Up WordPress On a Domain
It’s easy but there are a few things you need to do
If you have you own domain name already set up, setting up a WordPress site on it is very easy. However, there are several things you’ll need to get ready before you can install your WordPress site and start using it.
This guide will walk you through everything you need to know about preparing your domain and your web hosting account for a WordPress installation, how to complete the installation, and finally how to start using your new WordPress website.
Set Up Your Domain
You can purchase a domain from any domain provider you like, regardless of which web hosting provider you’ve chosen. The single important setting you need to worry about in order to set up WordPress on a domain is that the nameservers for your domain point to the correct web hosting account.
This is the first thing you’ll need to set up. To do this, log into your web hosting account and go intocPanel. Often, you’ll find the two Nameservers for that web hosting account listed in the left pane under theStatssection. It’s sometimes also called theDNS Servers.
If it’s not there, then look through any other account information pages your web host has provided to find those servers.
Once you have these, log into your domain provider account and find your registered domain. In your domain settings, you should be able to find where the nameservers are defined.
Change the listed domains to match the two nameservers you recorded from your hosting account.
This will send all incoming traffic to that web domain to the correct web server where you’re going to have your WordPress website set up.
Set Up Your Hosting Account
Now that you have all web traffic going to your domain directed to the correct hosting account, you’ll need to configure that domain in your hosting account as well.
This means you need to either create a new hosting account based on that domain name (configured during hosting account sign-up). Or, if you already have a hosting account, you can add new domains to that account.
To do this, log into your hosting account and go intocPanelagain. Under the Domains section, selectAddon Domains.
In this section, fill out the details related to the domain name that you want to set up on your web host.
These details include the domain name, the subdomain (usually just the same as the domain without the “.com” at the end), the subfolder where all your WordPress files will be stored, and a strong password.
Note: Addon domains only work if your web host has enabled the feature to host multiple domains on a single hosting account. If you’re only using one domain for your web host account, you won’t have to worry about adding an addon domain.
Test The Nameserver Changes
Now that you’ve configured your domain provider to point all requests for your domain to your web hosting account, and you’ve configured your web hosting account to server your web files from a specific folder, it’s time to test that those changes work.
Logged into your web hosting account, open cPanel. Under theFilessection, selectFile Manager.
For the directory to open, select the document root for the domain that you’ve just configured. SelectGo.
You’ll see that this directory is currently completely empty. To test that the site is working properly, you’ll create a test HTML file with just a single line.
To do this, selectNew filefrom the top menu.
Name the new fileindex.htm. Select theCreate New Filebutton. Now you’ll see the newindex.htmfile listed in the root folder for this domain. Index.htm is the default web page that people land on when they first visit a website.
Right-click the file and selectEditto start editing the file.
You don’t have to do anything special for this file to display in the browser when visitors enter your site. All you need to do is type a single line.
This website is currently working correctly.
When you’re done, select theSavebutton. Then select theClosebutton.
Finally, to test that everything is working properly, open a web browser and type your new domain into the browser URL field.
You should see that single line you’ve created show up inside the browser.
Note: If you see a security error when you try to connect to your domain with your browser, you may need to enable SSL for that addon domain. If this is the case, contact your web host tech support to ask how to enable addon domain SSL.
Copy Over WordPress Files
Now that you know your new domain is working properly and reading files on your web host root folder for that domain, you’re ready to install WordPress.
To make sure you’re installing the latest version of WordPress, visitWordPress.organd download the latest version. Finally, unzip the downloaded file into aWordPressdirectory on your computer.
Next,open an FTP clienton your computer and connect to your web hosting account via the FTP credentials provided by your web hosting provider. Delete theindex.htmfile you created previously and copy all the contents from thatWordPressdirectory into the root directory you created for your addon domain in your web host account.
Set Up a MySQL Database
Before you can install WordPress, you need to create MySQL database for it. This is much easier than it sounds.
Next, create an admin account for the WordPress setup. To do this, scroll down to the MySQL Users section and type in the username and password for the account.
Next, associate that user with the new database. Scroll down to theAdd a Userto a Database section. Select the user you just created, select the new database you just created, and select theAddbutton.
On the next screen you’ll see a window to apply all necessary privileges to the user. SelectAll Privileges, and then selectMake Changes.
Now your SQL database and admin user are ready to perform the WordPress installation procedure.
Configure The WP-Config.php File
The last step before you can run the WordPress installation routine, is to configure thewp-config.phpfile. This file will be found in the root folder of your site; the same location where you copied over all the WordPress file previously.
In this file, you’ll see a section that defines the database information.
Replace the capitalized text in single quotes with the following information for all the items you created when you added your new MySQL database in the step above:
You can leave the DB_HOST setting aslocalhost.
You’re now ready to run the WordPress installation!
Install WordPress
Now that all your WordPress files are at the root directory for your website, all you must do to launch the WordPress installation is to open a web browser and visit that domain. If you set everything up properly, you should see the following window.
This means the WordPress installation has launched and you’re looking at the first step. Select the language of your choice and selectContinue.
On the next screen, you’ll need to define a title for your new website, as well as an account name and password for the administrator of the website. Add your email address in theYour Emailfield. SelectInstall WordPress.
If everything worked properly, you should see a Success message stating that WordPress has been installed.
Next Steps
Now, when you visit your domain in a web browser, you’ll see your new website displayed using the basic WordPress theme.
You may be done with your WordPress installation at this point, but most people aren’t completely happy with the look and feel of the default WordPress theme.
There are a few important things you can do to immediately improve the look and feel of your new WordPress website.
Of course, the most important next step, now that you have your new WordPress website up and ready to go, is to start creating fantastic content that visitors will enjoy.
Ryan has been writing how-to and other technology-based articles online since 2007. He has a BSc degree in Electrical Engineering and he’s worked 13 years in automation engineering, 5 years in IT, and now is an Apps Engineer.Read Ryan’s Full Bio
Welcome to Help Desk Geek- a blog full of tech tips from trusted tech experts. We have thousands of articles and guides to help you troubleshoot any issue. Our articles have been read over 150 million times since we launched in 2008.
HomeAbout UsEditorial StandardsContact UsTerms of Use
Copyright © 2008-2024 Help Desk Geek.com, LLC All Rights Reserved