Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I want to have a domain structure set up for development sites, such as project.dev.example.com. Can I do this easily in cpanel?

Thanks

share|improve this question
    
If you want to do this in cpanel, it's probably one for webmasters.stackexchange.com - but if you want to do this in DNS it belongs here. –  Mark Henderson Mar 10 '11 at 2:20
    
The answer depends on your provider. Some have DNS integrated into cpanel in an easy way to create subdomains, others have their own configuration methods, and others do not provide DNS at all. The answer (from us) is to contact your provider. –  Chris S Mar 10 '11 at 3:23
    
I'm open to both solutions, whether cPanel or just straight into DNS. DNS would be useful though. I'm running my own server so I guess I would have to do it myself Chris? –  Matthew V Mar 10 '11 at 20:25

1 Answer 1

up vote 0 down vote accepted

In Cpanel, go to the Subdomains page. In the field "Subdomain" enter "project.dev" - and make sure "example.com" is selected in the pulldown to the right. Set the Document Root as desired, or leave it as CPanel sets it. Et voila - there you have it.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.