Jump to content

Setting Up Sub-Domain of Sub-Domain

Recommended Posts

I had a request last week to setup a hosting environment with a sub-domain of a sub-domain.  I hadn't ever done it before so wasn't sure how or what I would run into.  Turns out it was an easy setup.

I logged into WHM/cPanel and went into the normal sub-domain area.

cPanel Sub-Domains.png

For this example I'm just setting up sub2.sub1.prodjex.com.  First you have to setup the first level of the domain, so the first sub-domain "sub1".

first sub-domain.png

After that's created you can now setup your second sub-domain level of sub2.  Make sure to select your first level sub-domain from the "Domain" dropdown.

Sub-Domain of Sub-Domain.png

Now your server is configured for the sub-domain of a sub-domain.  Now let's update your DNS records to point to it.  I use GoDaddy, but it's still just setting up an A or CNAME record at your registrar like so:

GoDaddy Sub-Domain of Sub-Domain DNS Entries.png

GoDaddy Sub-Domain of Sub-Domain DNS CNAME Example.png

That's it, your sub-domain of a sub-domain is now correctly setup and working once the DNS propagates!



Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now