Welcome. Register or Login

hosting

Creating a subdomain in WHM

Eric's picture



We have never had a need for subdomains... until now.

After finding some conflicting information on how to to this, it was worth posting to possibly save someone else some confusion.

We found some info that indicated the subdomain & forwarding needed to be set up with the registrar. This is only true is you are using nameservers provided by your registrar.

Then we found some info that indicated the subdomain could be set up through cpanel. This would create a subdomain which shares cpanel with the original domain. This wasn't really desireable. Additionally, the subdomain resolved to domain.com/subdomain as opposed to subdomain.domain.com. Must have missed a setting somewhere.

The solution was ridiculously easy. We simply created a new account in WHM as subdomain.domain.com & assigned account features as we normally would.

Redirection was instantly working & resolving to subdomain.domain.com.