How to Setup a Subdomain and Install WordPress
-
Upload
susan-katana-cork -
Category
Internet
-
view
147 -
download
1
Transcript of How to Setup a Subdomain and Install WordPress
How to setup a subdomain and install WordPress
First Setup a
Subdomain
How to setup a Subdomain
Subdomains are URLs for different sections of your website.
They use your main domain name and a prefix. For example, if
your domain is GINZBURGPRESS.COM a sub-domain of your
domain might be SUPPORT.GINZBURPGRESS.COM.
Login into your cPanel.
Go to Domains > Subdomains
In the Subdomain field enter a name for your subdomain.
If creating a staging server name it stagesite.
Example URL will be stagesite.yourdomain.com
Hit Create.
You’ll see a message similar to this:
stagesite.yourdomain.com has been created!
Create a new database in
the cPanel
Go to Databases > MySQL Database Wizard
Create a new database:
Go to next step
Create a new database in
the cPanel
Go to Databases > MySQL Database Wizard
Create a new database:
Go to next step
Create a Database Username:
Create a password:
Create a new database in
the cPanel
Go to Databases > MySQL Database Wizard
Create a new database:
Go to next step
Create a Database Username:
Create a password:
Click on Create User
Select All Privileges
Click on Next Step
Download and configure WordPress
Download WordPress from the repository.
https://wordpress.org/
Save it to your computer.
Extract the zipped wordpress file.
Rename this file
wp-config-sample.php
We are going to rename this file wp-config-
sample.php to wp-config.php.
Right click on the file and rename it to
wp-config.php
Then open the file in a text editor such as
notepad or notepad++ to connect to the
database.
Make the following changes
inside the config.php file:
// ** MySQL settings - You can get this info from
your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', 'database_name_here');
/** MySQL database username */
define('DB_USER', 'username_here');
/** MySQL database password */
define('DB_PASSWORD', 'password_here');
Upload the wordpress
files to your subdomain
Upload the entire wordpress contents you
just extracted to your new subdomain
directory with the newly changed
wp-config.php file.
You can use your FTP program or your can
upload the files from within your cPanel.
FTP your files
Use Filezilla to upload the wordpress files to your
newly created subdomain.
When the upload is done, navigate to the URL of
your new subdomain.
For example:
www.stagesite.mydomain.com/wp-config.php
You’ll see the install screen.
Select English or another language.
Welcome
Fill out the rest of the information for your new site.
Site Title:
Username:
Password:
email:
Hit Install WordPress
You’ll see the Success! Screen Login
Success!
You should also be receiving an email that you have
a new WordPress site.
Navigate to the site to ensure it’s been properly
installed.
Hello world!
DISCOUNT COUPON
Join now at Udemy.com 45% discount coupon to the course.
Course is valued at $49 for just $27– but hurry, time limited
– Sign Up Now!Offer expires March 31, 2015.
Click on the Coupon code:
SPECIALOFFER45