Many businesses are still only blogging on blogger or other platforms away from their main website. Others go the route of getting another domain. One great way to maximize the power of your blog and build links to your main site at the same time is to create your main company blog on a subdomain of your regular website. You can even have it point to a completely different server. Some reasons why you may want to do this include if your main website is just a shopping cart has very strong security or is in a different scripting language or under ‘corporate control’.
For this tutorial we’ll assume you have a website that is to stay entirely where it is and not to be affected by the blog which will reside on a separate hosting account – for my example I’ll use one with WHM (WebHost Manager) and the cPanel control panel installed, but you could make modifications to the last steps of these instructions and use alternative hosting.
Step 1 – Decide on the subdomain – I’d recommend d using something short and easy to remember like “blog” blog.yourdomain.com. It looks great and is easy to remember.
Step 2 – Create the CPanel hosting account for the subdomain in WHM.
Log in to WHM, click create a new account, choose the package with options your want (disk space, etc) and set up everything like normal except put in a subdomain where it asks for the domain name. I’d also recommend using a dedicated IP address for the subdomain account (should be a checkbox).
Step 3 – Login to the DNS registrar where you have your domain name registered (examples include GoDaddy, Enom, network solutions) and locate the area where you can put manual entries into your DNS tables. Find where you can insert an “A” entry. This is different in each registrar. They should have instructions for doing this specified in the help section and it will most likely be located in advanced settings.
Step 4 – enter an A entry which will look like this:
.blog 1400 in A 74
Replace the ’188.8.131.52’ with whatever the IP address of your subdomain account is. Also, replace ‘blog; with the exact name of what you want your particular subdomain to be. If you gave it a dedicated IP address in step 2, then use that here, otherwise, specify the shared IP address of your hosting account.
Step 5 – Install WordPress like usual, but use subdomain.domain.com in place of the URL, and everything should install and all work just fine.