Using subdomains to show same content as main www site

  • Answered
Is there a way to have a subdomain show the exact content as the regular www.~? I want to do some sort of thing where Google Analytics tracks what subdomain users are seeing the site via.
Hello Aacam, Yes, you can certainly do that. To do so, simply change the root directory of the subdomain. To do so, simply log into your cPanel and locate the subdomain tool under the Domains category. Find the subdomain you want to change the root directory of, and click on the small pencil and paper icon under the root directory field. This will bring up the current root directory. To make it the same as your main domain, just change it to only public_html. This will change the root of the subdomain to point to the same content as your main domain. I hope this answers your question. If you have any more questions or information specific to the issue please leave a comment below so we can further assist you. Best Regards, Scott M