There are some questions I have but cannot add a comment so will do my best to help clarify the steps to set up a subdomain network: http://codex.wordpress.org/Create_A_Network.
First, the multisite feature of WordPress needs to be enabled. Did you do the steps required to enable multisite?
Second, the same wordpress files are used for the main site and any network enabled site. In other words, if you have public_html/wordpress for the domain.com then in cpanel you also point the subdomain to public_html/wordpress for a sub.domain.com. You do not create a directory public_html/wordpress/sub. The directory does not exist but the multisite feature enabled will recognize to render the WP files when sub.domain.com is requested in the browser.
Related Posts:
- Hosting a WordPress blog as a sub folder from a S3 website
- Share WordPress Login Cookies Between Two Subdomain Installs
- Load template for specific subdomain
- Serve HTTPS requests from subdomain
- Using subdomain m.website.com for mobile theme?
- How can i run the same WordPress install on multiple subdomains?
- Classic Conundrum: How do I map a Sub-Domain in WordPress? [closed]
- General Settings for WordPress Subdomain
- Moving a blog from a subdomain to a folder
- How to retrieve TLD domain for the current website?
- How to serve assets files (js, css, images) on a subdomain
- Moving WP installation form subdomain
- Will WordPress installed on a whole domain interfere with other files in a subdomain or subfolder?
- Network of subdomains [closed]
- Moving website from expired domain to an active subdomain
- Change the subdomain?
- Two domain for one site not working in mobile
- WordPress subdomain mapping/”archiving” [duplicate]
- WordPress CDN Subdomain URL not accessible to the public
- How do I (re)design my corporate website in WordPress without downtime?
- change wordpress upload url to subdomain on xampp local
- Can I have a WordPress site stored on a subdomain of another website owned by me?
- Theme switch when accessed from sub domain
- Subdomains permalinks issues
- Relative Root Url For Sub domain name
- 2 WordPress install with same database
- How to make each category a subsite?
- How to Set up a Wildcard Subdomain for all WordPress Posts?
- WordPress cloned but frontend still displays http://old_wordpress_site
- How to load subdirectory mobile theme and redirect mobile devices to subfolder?
- Subdirectory mapping for a WordPress website
- WordPress deleting subdomain from the URL
- How can I move the subdomain to the root domain?
- Can I edit domain settings if I didn’t create the site?
- Issue while installing wordpress in subdirectory due to SSL [closed]
- Add subdomain for Vue.js application
- Question of the subdomain
- Can I use WP’s built in domain mapping with WP installed on a sub-domain?
- Create a new hyperlink to wordpress blog
- Changing blog domain name
- Single WordPress Installation with Sub domains
- Serve HTTPS requests from subdomain
- WordPress site with subdomain without multisite installation
- I have a question about the name of my blog [closed]
- Hide sub domain created for local CDN
- Change author URL from /author/xyz to a subdomain xyz.domain.com for each new registered users
- Development to production, how to move a development site from http + dev.example.com to a production site https + example.com?
- WP Multisite development with Mamp Pro and wildcard subdomains, not really working for me
- SSL wildcard issue for wp multisite subdomains
- Wildcard subdomain for the same site
- Site redirects to wrong url when saving settings
- Subdomain multisite gives 404 on sub sites
- Add New Sub Site from the WordPress back end then in sub site options table option_value must be with https
- How to maintain wordpress site blogs in production and staging?
- Fix 403 error on WordPress multisite network using subdomains
- Sub-domain or 2nd, temporary different domain?
- Changing Multisite URL after the subsite has been in use
- How to create Sub Sub domain Multi User blogs?
- Changing admin sub-domain in WordPress multisite
- Subdomain login problems
- How can I have multiple URLs pointing to single WordPress installation?
- How to Redirect login User with Mapped Domiain Primary blog Url to Original Sub-site Url
- WP Multisite – domain mapping to domain.com and separate site to domain.com/help
- Redirect subdomain in Multisite installation?
- Multisite – 404 when accessing sub-sites
- Migrating wordpress multisite and domain mapping plugin
- Force WordPress to load from site’s hostname
- Showcase elementor templates
- Directing subdomain to main domain and keeping the subdomain format with .htaccess
- Multisite not using subdomains as hostname in from address when sending emails
- Logging into sandbox subdomain WP
- Some admin pages redirecting to front page on save
- How to configure sub-domain for images on Debian Apache VPS?
- new subdomain to apply as main domain
- How to host 2 subdomains as lookalike destinations under one master domain?
- Separate DB by yearly archive of WordPress
- Some posts from custom post type to subdomains
- wp_get_attachment_image_src on multisite
- WordPress Multisites or Multiple WP Single sites?
- Multisite on single wordpress
- Folder wordpress page redirect
- Installing other applications alongside WordPress multisite and configuring dns routing
- Custom permalink structure with %postname% in front of domain name
- Moving from subdirectory and subdomain -> root
- Authorize subdomain to access and read user and admin cookies
- How to redirect template_directory to subdomain relativ url?
- When i try to enter subdomain i’m redirected to main domain
- Configure .htaccess to have a WordPress single site installation with all subdomains pointing to the same pages?
- Blog on a separate server from WooCommerce WITHOUT effecting SEO?
- How to Best Create Separate Subscribers and User Experience
- How to Install WP to Subdomain but Serve on Subdirectory?
- Multisite Issue on Subdomain’s article pages
- Multisite – SMTP not working on other network sites
- Multisite install on a sub-directory
- Single sign on to sub-sites in Multisite Network
- Macros for WordPress, creating subdomains out of registrations for current domain
- How to configure CNAMES to be part of a WordPress Network
- Is it possible to put a site other than #1 as a Multisite top-level domain?
- Cookies in Multisite network where sites have their own domain name?
- Make multisite non-existing subdomains go to homepage instead of Index of/ page