If you already have a website, but want to branch it out a bit, a subdomain is a great way to get the best of both worlds. Whether you’re adding a company blog or selling website merchandise, segmenting your site with a subdomain is a practical solution. Here’s how you can create a subdomain for your website through Name.com hosting.
Let’s say you have a style blog called A Whimsical Wardrobe, and you’ve decided it’s time to start selling merchandise on it. Creating a subdomain for your online store will tie it in with the website while allowing the freedom to create something that stands out.
The first step is to log into the cPanel dashboard for the website you want to add the subdomain to. To do that, sign into your Name.com account and press Web Hosting. Press the cPanel Login button to be taken to your cPanel homepage.
Now, scroll down to the Domains heading and press the Subdomain button.
In the Subdomain section, you’ll enter the string you want to the left of the dot in your subdomain. Once it has been entered, the Document Root will autofill. By keeping that section as-is, anything you add to your normal document root folder will load on that subdomain. Press Create to set up your subdomain.
Wait, you’re not done yet!
Your subdomain will not resolve properly if you don’t add the correct DNS records to it now that it has been created. To do that, go back to your normal Name.com account and choose Web Hosting from the My Account menu. Scroll down the page to the DNS Management section, and make sure the website that hosts your subdomain is selected.
Use the drop down menu on the left to choose the “A” record type from the menu. In the Host field, type the “sub” part of your sub domain. Then, type your IP address into the Answer section, which you can find by scrolling to the top of your page and looking at the Server IP Address. Press Add record once you’re finished.
It could take up to 24 hours for your subdomain to properly resolve after you’ve added the DNS records, so don’t worry if it doesn’t work right away. With your subdomain successfully created, you can start working on your next project, and make your website even better than ever.