9
www.devstrol.com All Rights Reserved © devstrol.com http://facebook.com/devstrol http://twitter.com/devstrol Domain Management Sub Domains

Domain management Sub Domains

Embed Size (px)

Citation preview

www.devstrol.com All Rights Reserved © devstrol.com

http://facebook.com/devstrolhttp://twitter.com/devstrol

Domain Management

Sub Domains

www.devstrol.com All Rights Reserved © devstrol.com

What is a Sub Domain?

• A sub domain is simply a subsection of your website existing as a sub directory in your public_html (document_root) directory.

• It’s much like an independent website with its own unique content but with no new domain name, since it references the primary domain.

www.devstrol.com All Rights Reserved © devstrol.com

Sub Domain Structure• A prefix is used in conjunction with your existing domain

name (primary domain) to create a sub domain. No need to register a new domain – Saves you some cost.

• A typical sub domain would have the following structure: prefix.mydomain.com. Prefix here, is your preferred sub domain name, while mydomain.com is your existing domain, what we refer to as the primary domain.

www.devstrol.com All Rights Reserved © devstrol.com

Example

• For instance, you may create a sub domain like, store.mydomain.com where you run an online store or help.mydomain.com where you offer support to your site visitors.

• These sub domains form unique websites with unique content. It’s only evident association with the primary domain is that it prefixes it.

www.devstrol.com All Rights Reserved © devstrol.com

How to Create a Sub Domain

• Log into your cpanel account

www.devstrol.com All Rights Reserved © devstrol.com

How to Create a Sub Domain

• Navigate to the domain section and click on sub domains

www.devstrol.com All Rights Reserved © devstrol.com

How to Create a Sub Domain

• Key in the name of your sub domain and select the domain to create it under.

• A folder for the subdomain is automatically created in your public_html directory, once you click create.

www.devstrol.com All Rights Reserved © devstrol.com

How to Create a Sub Domain

• That’s all, you can now upload web content to the subdomain folder created in the public_html directory.

• Your sub domain site should be accessible via: subdomain.mydomain.com

www.devstrol.com All Rights Reserved © devstrol.com

Stay Connected with DevStrol

• www.devstrol.com• twitter.com/devstrol• facebook.com/devstrol• slideshare.net/devstrol

Quality Matters to us, every time, all the time. Get quality professional services on this or any other related topics.