How do I change the directory of a subdomain?
Step 1 – Login to cPanel and click on the Subdomains icon. Step 2 – Click on the pen icon at the edge of the document root. Step 3 – You will see this box pop up. Edit the Document Root field and press the Change button.
Table of Contents
How do I add a database to a subdomain?
How do I create a new database under a domain/subdomain? Impression
- You first set up your active virtual server on the domain/subdomain you are interested in.
- Next, select the ‘Edit Databases’ link in your Virtualmin panel and then the ‘Create New Database’ link.
- Select the name you want for your new database.
What is the document root in the subdomain?
The document root is the folder where the website files for a domain name are stored. Your plugin and subdomain names will be rooted in their own folders within public_html. After creating an addon domain or subdomain, you can find the document root within cPanel by clicking the Addon Domains or Subdomains icon.
How do I create a subdomain in WordPress multisite?
Create the subsite within your WordPress multisite website:
- Open your websites wp-admin.
- Go to My Sites > Sites ( /wp-admin/network/sites.php )
- Click Add New at the top.
- Fill in all the fields: Site address: never use “www” Subdomain: site address .yourdomain.com. Subdirectory: yourdomain.com/siteaddress.
How to create a subdomain for a document in cPanel?
To create a subdomain, perform the following steps: 1 Enter the desired prefix in the Subdomain text box. 2 Select the desired primary domain from the menu. 3 Enter the home directory of the subdomain in the Document Root text box. Note: The house icon () represents the home directory of the cPanel account. 4 Click Create.
When to use wildcard subdomains in cPanel?
We strongly recommend that you use wildcard subdomains only when absolutely necessary or when you don’t need to use service subdomains. To create a subdomain, perform the following steps: Enter the desired prefix in the Subdomain text box. Select the desired primary domain from the menu.
What happens when I add a new domain to cPanel?
If no certificate exists, the system will generate a self-signed certificate to protect the new domain. If AutoSSL is enabled for the account that owns the new domain, the system will add a request for an AutoSSL certificate to secure the new domain and install it when it becomes available.
What does it mean to have a subdomain on a website?
A subdomain is a subsection of your website that sometimes exists as a subdirectory of your public_html (document root) directory or your account home directory. Subdomains use a prefix along with the domain name. For example, if the registered domain name is example.com, the subdomain will be prefix.example.com.