Please read before creating a subdomain


Note: Some subdomain titles are reserved: email, www, ftp, cpanel, whm, internet email, webdisk. You can use any name except these.

How do I create a subdomain?

  • Log into cPanel and basically simply choose the "Subdomains" symbol.
  • In the "Subdomain" area, please choose the name of the subdomain which you wish to use, for example, you might choose "blog". If you choose weblog, then your subdomain will look like "blog.example.com".
  • Next, choose the preferred domain you wish to create this subdomain from the drop down selection to the right of the "Subdomain" area. You may create a subdomain for any add-on or subdomain that already prevails in your cPanel.
 
For example, if you select "blog" as your new subdomain, then the "Document Root" area will fill with "/public_html/blog". This implies that the new subdomain will fill it's material from the directory known as "blog" from within the "public_html" listing.

Once all three areas are set the way you like, just basically simply choose the "Create" key to finish the development of your new subdomain.

Note: The short-term URL for an add-on or subdomain is
http://ipaddress/~username/subfolder/ or http://servername/~username/subfolder/
where the login name is your cPanel customer name for your main domain.
Examples

http://reprise123.reprisehosting.com/~username/addon.com/
http://reprise123.reprisehosting.com/~username/subdomain/

If you own several websites and wish to have a different weblog set up for each domain, then you will have to modify the "Document Root" of each sector that you set up. This is very essential because if you create weblog.reprisehosting.com and weblog.seohosting.com on the same cPanel, but keep the "Document Root" as the cPanel recommended place, then both of your website subdomains will fill from the same listing of "/public_html/blog" and you will not have individual material for each subdomain.

To prevent suffering from this problem, when you create your new subdomain, make sure you set the "Document Root" to something other than "/public_html/blog", instead, set it to something like "/public_html/blog1".
  • 5 משתמשים שמצאו מאמר זה מועיל
?האם התשובה שקיבלתם הייתה מועילה

Related Articles

I already own a hosting package and want to add a 2nd domain

 You can add additional domain name through your cPanel with the help of "Addon Domains"...

How to Connect to the MySQL Database

To work with the database in PHP, you must first connect the script to the MYSQL Database. We...

How to Connect to the MySQL Database Remotely

Enabling Remote MySQL connectivity is often done to enable a program on your laptop or computer...

Location of Script Configuration Files

4Images Gallery /config.php B2...

How to log into cPanel

cPanel (control Panel) is a management tool based on web technologies for managing sites easily,...