How to Setup a Subdomain and Install WordPress

16
How to setup a subdomain and install WordPress

Transcript of How to Setup a Subdomain and Install WordPress

Page 1: How to Setup a Subdomain and Install WordPress

How to setup a subdomain and install WordPress

Page 2: How to Setup a Subdomain and Install WordPress

First Setup a

Subdomain

Page 3: How to Setup a Subdomain and Install WordPress

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!

Page 4: How to Setup a Subdomain and Install WordPress

Create a new database in

the cPanel

Go to Databases > MySQL Database Wizard

Create a new database:

Go to next step

Page 5: How to Setup a Subdomain and Install WordPress

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:

Page 6: How to Setup a Subdomain and Install WordPress

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

Page 7: How to Setup a Subdomain and Install WordPress

Download and configure WordPress

Page 8: How to Setup a Subdomain and Install WordPress

Download WordPress from the repository.

https://wordpress.org/

Save it to your computer.

Extract the zipped wordpress file.

Page 9: How to Setup a Subdomain and Install WordPress

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.

Page 10: How to Setup a Subdomain and Install WordPress

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');

Page 11: How to Setup a Subdomain and Install WordPress

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.

Page 12: How to Setup a Subdomain and Install WordPress

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.

Page 13: How to Setup a Subdomain and Install WordPress

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

Page 14: How to Setup a Subdomain and Install WordPress

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.

Page 15: How to Setup a Subdomain and Install WordPress

Hello world!

Page 16: How to Setup a Subdomain and Install WordPress

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