How To Create A Subdomain In WordPress Using cPanel

create a subdomain

You may have seen many subdomains at many websites. Like, and more. But have you ever thought, how to create a subdomain in WordPress? When you grow your business then you may in need to create a subdomain. It may be for support or any forum.

A subdomain can be created for any existing domain at your web host. It may be for a parked domain, any domain other than your main domain. You can also create sub-subdomain. We will talk about it later. Now let me help you with subdomain set up.

How To Set Up A Subdomain For Your Domain?

We have talked about parking a domain, adding an add-on domain and now we are talking about setting up a subdomain. All these things are quite simple and similar to accomplish. Now I am going to guide you how to set up a subdomain? There are some essential steps to follow:-

Step 1 :- Like always first thing is to login into your web host account and then open your cPanel.

Step 2:- Now search for “Domains” section. You may easily find “Subdomains” option. What are you waiting for? Just click to that option and a new window will appear in front of you.

create a subdomain

Step 3:- You can see in the screenshot below that one box is there to fill. You have to fill the name of your subdomain in that box. The prefix you use for your existing domain will be filled in that space. There is a dot between the blank box and the name of your domain.

I have added “support” in the blank space and the subdomain with the name “” will be created. Don’t you worry about “Document Root” option? It will be filled automatically when you click at “create” after filling the name of your subdomain.

how to set up a subdomain

As you can see in the example taken above, “public_html/support” has filled automatically when I created a subdomain ““. So you don’t need to fill anything in that blank box. You should concentrate on the name of your subdomain.

Step 4:- I know you are eagerly waiting to create a subdomain. The final thing is to click on the option “create”. Let me make it clear that as I have explained above about “Document Root”, it will not be filled until you click on “create” button. After that, you will be taken to a new page and a message will be shown to you, stated that you have successfully created a subdomain with the name “”.

how to create a subdomain for wordpress

Step 5:- If you want to check your subdomain then you can click on “go back” option and you will be redirected to the previous page. In the last section of the page, you can see all the subdomains you have created before. Your new subdomain will also be included in that list.

Was That Hard To Create A Subdomain?

What do you think? Did you face any problem? Do you want to create a subdomain for your current domain? You can start a forum if you have more traffic to your blog. I have come across many blogs which have any amazing subdomains and they are doing well.

After going through this post I am sure, you will not need to ask how to create a subdomain for WordPress? Though I have explained the process in simple steps, but still if you face any problem then I am here to help you all.

You can also connect with us on Twitter, LinkedIn, and Facebook.

by Ravi Chahar

A WordPress Professional and the LinkedIn Influencer. A coder by passion and a blogger by choice. WordPress theme development is his forte. He is your WordPress guy who will teach you how to solve WordPress errors, WordPress security issues, design issues and what not.

Get Free Updates Into Your Inbox

Learn Everything Just Like I Did



  1. Hi Ravi Sir,
    I had been waiting for yet another article from your for last few days, and here it goes finally.
    Creating sub-domains are very easy using Cpanel. This would definitely be a useful post for newbies.

    1. Hey Mohit,

      There are many people who think about creating a forum for which they need to create a subdomain. You may have seen many subdomains. Newbies should know how to set up a new subdomain. You can also manage your old subdomains by this method.
      Thanks for your contribution.
      Have nice week ahead.

  2. Hi Ravi,

    Good to be back and over at your blog as well 🙂

    I’ve never had the need to create a subdomain but I might have one day. However, I did read online about the advantages or different uses of a subdomain and a subfolder.

    As you’ve shown in this tutorial, creating a subdomain is really easy. The method you’ve shown is applicable to all cPanel users irrespective of the hosting company. I hope it helps the bloggers.

    Thanks for this tutorial. Have a nice week ahead 🙂

    1. Hey Harleena,

      Like you, I am happy to see you here after a long time.

      Using cPanel is the best thing. You are right, it is applicable to most of the web hosting companies. As we all know that cPanel is same for most of the popular web hosting companies. You can create a subdomain, add an extra domain and much more.

      Though most of the newbies don’t have any idea about subdomain, domain, add-on domain but, still more information is helpful. They should know the perfect way of creating a subdomain. I hope it may help them.

      Thanks a lot for your wonderful comment.
      Have a lovely day.

  3. Hi Ravi,
    This is my first time here, and it looks like there is a wealth of information! This is a great tutorial for those who need to create a sub domain in WordPress. cPanel does offer many tools.

    I do have one client that we have used sub domains with due to two different shopping carts that they need.

    I hope you have a wonderful rest of your day!
    ~ Robin

    1. Hey Robin,

      Welcome to my blog.:)
      I am glad to hear that, you found something informative here. There are millions of blogs which use subdomains. Like you customer, I have came across many bloggers who are willing to start a shopping cart for which a subdomain is needed.

      Whenever we visit any subdomain then we don’t even have a look at that. The only thing is subdomains are just like the main domain. Newbies get confused in between them. I hope they can get the better idea from here.

      Thanks a lot for taking time to visit here.
      Enjoy your week ahead.:)

  4. Hey, Ravi,

    I’ve created subdomains before, but this guide sure would have been nice to have when I was trying in the beginning – you make it easy!! 🙂

    Great tutorial, Ravi, and will definitely be telling my friends about it.

    My membership is in a different folder because I wanted it on the carol amato domain, without subdomain involved.

    cPanel can appear overwhelming at first, but if looked at in a logical manner, you can find anything you want to do inside there.

    Thanks again and Have a great weekend.

    Spreading the word…


    1. Hi Carol,

      It’s the matter of choice that people add a subdomain to a different folder of in the main directory. But most of the people prefer to add it in a separate folder. It makes easy to do any change with that subdomain.

      Yes, cPanel is an amazing tool to use. For WordPress, it is the best thing. You can do any change you want.
      Thanks for stopping by.
      Have an amazing week ahead.

    1. Hey Brent,

      Thanks for appreciating.
      I am glad to know that you have also added a subdomain. You may need to add any new subdomain at any time. I am sure it will help you in the best way it should.
      Thanks a lot for coming here.
      Hope you are having a great time.

  5. Hi Ravi,

    Nice to be at your blog . Indeed an impressive post once again along with step by step tutorial, Through which one can easily understand how to deal with sub domain in WordPress.

    Thanks for sharing such an effective and lucid Information regarding Set up a sub-domain in WordPress.

    Keep sharing 🙂



    1. Hey Mairaj,

      Glad to see you again.:)

      Adding a subdomain is not so hard. But there are many bloggers, especially newbies who face problem in setting up a subdomain. I hope this tutorial can help them for sure. I have tried to explain in the simplest way I could.

      Thanks a lot for sharing your thoughts.
      Enjoy your day.


  6. Hi Ravi,
    How simple you made it! Sub-domain has its own advantages and disadvantages however; it is necessary for the some time. And believe me your step by step tutorial has made very very simple for creating one.
    Thanks for sharing the wonderful tips. 🙂

    1. Hey Chandan,

      There are many things to know before creating a subdomain. If you want to add an extra domain then it can be a subdomain. Many features are involved with subdomains. Adding it isn’t that much easy. There are some choices with it. If you want to add it in the different folder then you can do it.
      My sure the tutorial will help you.

      Thanks for visiting.
      Hope to see you again.


  7. Hi Ravi,

    Well detailed tutorial on creating subdomains.

    I haven’t created a sub-domain before but I’ll be bookmarking this so I can reference back to it when need be.

    Thanks for sharing this awesome post with us.

    Have a great day

    1. Hey Kore,

      Welcome to my blog.

      If you add any new domain at your blog then you will in need to create a subdomain. We add the data of a new domain to a new folder which is included in the subdomain’s list.

      If you ever want to create any support facility for your readers then you can do it using this process.
      Thanks for stopping by.
      Enjoy your day.

Leave a Reply

Your email address will not be published. Required fields are marked *