I started using cyberpanel only one day ago, and I would like to ask if cyberpanel allows me to create a subdomain with a path that is independent from the main domain? For example, if the main domain is domain.tld and the path is /home/domain.tld/public_html, I want to create a subdomain.domain.tld so that its path is /home/subdomain.domain.tld/public_html instead of /home/domain.tld/public_html/subdomain.domain.tld/public_html. I would have created the subdomain directly by creating website, but that would have given visitors a 404 error page. How should I fix it?
Thank you for your reply. However, I will see the Litespeed web server configuration success page after I type my subdomain, if I create subdomain through creating websites. How can I fix this problem? Thank you very much.
@Cipio Point the subdomain to your IPv4 and IPv6(if any) by adding a A & AAAA records for the subdomain. Add a CNAME record(e.g.: www.subdomain.domain.tld) too.
Create A, AAAA, and CNAME records in your DNS provider.
Now wait for at least 15 minutes.
Now create a website in CyberPanel. During the website creation process check DKIM Support and open_basedir Protection. Leave SSL and Mail Domain. [Include Mail Domain if you want to create mail accounts under this sub-domain].
Now go to List Websites and click on Manage.
Now to public_html using File Manager and upload a index.html file.