My knowledge of cPanel is fairly basic so some advice would be appreciated before making changes that crash everything.
We currently have an add-on domain that we would like to move to a sub-domain but direct the add-on domain name to the sub-domain. Both sites are run on Wordpress. By default a sub-domain has been created on C-Panel but typing the sub-domain into a browser directs to the add-on domain.
We would prefer to shorten the sub-domain name. The add-on domain files are in a folder in the account root.
Current:
Primary Domain: domain.sld.tld
Add-on Domain longname.tld
Sub-domain longname.domain.sld.tld directs to longname.tld
We would like:
Primary Domain: domain.sld.tld
Sub-domain: name.domain.sld.tld
Add-on domain longname.tld directs to name.domain.sld.tld
I presumably need to create a new sub-domain name.domain.sld.tld. Can I then set the root for the sub-domain to that for the add-on or do I need to copy the add-on files to a new folder and point the add-on domain name to the new folder?
Is having the address shown in the address bar as the sub-domain a matter of changing the site settings in Wordpress (together with any internal links) or is there another setting I need to change in cPanel?
Shared hosting account
cPanel 100.0 on Linux
We currently have an add-on domain that we would like to move to a sub-domain but direct the add-on domain name to the sub-domain. Both sites are run on Wordpress. By default a sub-domain has been created on C-Panel but typing the sub-domain into a browser directs to the add-on domain.
We would prefer to shorten the sub-domain name. The add-on domain files are in a folder in the account root.
Current:
Primary Domain: domain.sld.tld
Add-on Domain longname.tld
Sub-domain longname.domain.sld.tld directs to longname.tld
We would like:
Primary Domain: domain.sld.tld
Sub-domain: name.domain.sld.tld
Add-on domain longname.tld directs to name.domain.sld.tld
I presumably need to create a new sub-domain name.domain.sld.tld. Can I then set the root for the sub-domain to that for the add-on or do I need to copy the add-on files to a new folder and point the add-on domain name to the new folder?
Is having the address shown in the address bar as the sub-domain a matter of changing the site settings in Wordpress (together with any internal links) or is there another setting I need to change in cPanel?
Shared hosting account
cPanel 100.0 on Linux
Last edited by a moderator: