IndianWebPortal.com

Something Different In Linux

Home » Knowledge » Difference between sub-domain and Addon domain.

Difference between sub-domain and Addon domain.

Posted by Rishikesh Vispute Categories: Knowledge

Following is the descriptive difference between sub-domain and Addon domain.

====================================================================================================
1. Sub Domain
A subdomain will be in the form sudomain.maindomain.com. When you create a subdomain using cPanel it will create a directory in your public_html folder. You should out all your subdomain folder in that directory.
In our case our maindomain is “maindomain.com” and the subdomain is “subdomain”.
Goto cPanel of “maindomain.com” and then click on Sub Domains give the name “subdomain” and then click on “Add”
you can even setup a redirection for this domain from here.
(If the directory name is “sub” )
The Subdomain can be accessed using:
sub.maindomain.com
OR
maindomain.com/sub/

Sub-domain can be added from your cPanel >> Subdomains

—————————————————————————————————-
2. Add-on Domain
Add-on domain is almost same as Sub Domain but in case of Add-on domain the domain should be already registered by you and the nameservers for that add-on domain should be pointing the same nameserves as the maindomain.com.
The add-on domain will also be hosted on a folder in the public_html folder. (in our case the folder name is addon)
You can access the Add-on domain using:
addon.com
OR
maindomain.com/addon/
OR
addon.maindomain.com


Popular Posts

remove index.php fro

How to remove index.php from url in magento Ans : If you ...

PHP-Java bridge on p

  What is php-java bridge? The php-java bridge is the php ...

Set expiration for y

If you want to set the expiration to your site ...

Warning: Parameter 1

Error: Warning: Parameter 1 to modMainMenuHelper::buildXML() expected to be a ...

domain pointing to e

If you domain uses external MX record and it is ...