Hey everyone, in this video, we will see how
you can create a subdomain for your website.
So, before starting, basically what a subdomain
is.
A subdomain is just a subcategory or a smaller
part or a part of your main domain name.
So, how does a subdomain sound like?
Let's say I have a domain name digitalabhi.com.
So, a subdomain of this digitalabhi.com will
be something like, let's say xyz.digitalabhi.com
or demo.digitalabhi.com or let's say anything.digitalabhi.com.
Just put anything or any word before the main
domain name like xyz.digitalabhi.com that
will be the subdomain of your main domain
name or the website.
So, let's see how you can make a subdomain
of your website.
So, before starting, I will tell you that
I am using Namecheap hosting for all the tutorials
I am making.
And it's shared hosting.
You can find the link in the description.
After logging into your Cpanel just scroll
down and find the option of Subdomains.
Here it is.
We will click in the subdomains.
And enter the subdomain you want to make.
Let's say, I want to make test.digitalabhi.com
or let's say tutorial or let's say wptutorial.digitalabhi.com.
I will be making all the tutorials of WordPress
on this subdomain wptutorial.digitalabhi.com.
So, just enter the subdomain name in the subdomain
column and just hit create.
Wait for a couple of seconds.
And success, BOOM!
Your subdomain is created successfully.
Let's go to home again.
Now, we need to install SSL or Secured Socket
Layer.
It's basically for the security of your website
or the subdomain.
So, let's move on to Namecheap SSL.
Okay, so, basically let me tell you one more
thing.
So, by the way if you have created a subdomain
by accident or you have created a subdomain
accidentally or you don't want the name which
you have created and you want a different
name.
What you can do is, just again move on to
Subdomains column scroll over and you will
see all the subdomains you have made here.
Now just hover to wptutorial.digitalabhi.com
and hit the Remove button and when you click
Delete Subdomain, the subdomain will be deleted.
Now, I am not deleting here as I need to make
the video further.
So, we will just move back to SSL part.
Click on Namecheap SSL.
Scroll.
You will see here wptutorial.digitalabhi.com.
To install an SSL on this subdomain just click
on the button install.
Now hit Yes, replace.
It will just your email id.
Then, install certificate.
And the SSL on this is in progress.
It will just get activated in max 15 minutes.
The last time I installed an SSL, it just
took 2 to 3 minutes.
And also, you have to turn on this HTTPS redirect
thing.
What it will do is, if someone visits HTTP
version of your website, the non secured version
of your website, it will automatically redirect
the user to the secured version of your website.
So, we will just turn it on.
It will just take a couple of seconds.
So, I will just pause the video till the time
the SSL is activated.
Okay, so now as you can see the SSL is installed
on the subdomain which is wptutorial.digitalabhi.com.
So, we will head over to CPanel and install
WordPress on this subdomain.
Scroll down and you will see an option of
Softaculous Apps installer.
Click on WordPress, scroll down.
Click on Install Now.
And here will select our subdomain which is
wptutorial.digitalabhi.com.
And it automatically chooses the protocol
which is HTTPS and make sure that the in-directory
column is completely empty.
We don' have to put anything here.
I will put the site name here.
Let's say, WP Tutorial and will put a description
here.
Let's say 'Get Tutorials related to WP'.
Don't touch any of these.
And now here we will put the username.
Let's say wptutorial and a password.
Let the password be pass for the current time.
I will change it later.
This username and password you have to enter
it when you will login to your WordPress dashboard.
Now, you will untouched any of these.
You might tick this Limit Login attempts.
But it's not required.
You can put email where you want to get installation
details.
Also, it's not necessary.
Just click Install.
And the installation has started as you can
see here.
And BOOM, WordPress is installed on this subdomain
which is wptutorial.digitalabhi.com.
Let's check it out.
As you can see WordPress is successfully installed
here.
So, we will just head over to the WordPress
dashboard of the subdomain.
So, to open the WordPress dashboard, you just
have to put /wp-admin in front of the domain
name.
Now, as you can see WordPress is opened here.
Now, you have to put the username and password
which you entered during the installation
process.
Let me enter here wptutorial and the password
was just pass.
Let's login here.
Now, you can see the WordPress dashboard.
just log it out from here.
in the next video, we will see another tutorial
related to WordPress, till the time stay tuned.
