These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Sub-domains not pointing to correct directory on the new forum.
Hello all,
I have domain xyz.com, and have updated my registrar with sub-domain test.xyz.com to point to my VPS IP (A record). It works because. when I browse to test.xyz.com, it shows my VPS base Apache2 Ubuntu Default Page. So everything related to routing the sub-domain to my VPS is working.
Now, I create a new virtual server: - Domain name: test.xyz.com - Setup website for domain: Yes (home directory created, etc.)
My apache2 configuration is updated (new virtual server, with document root pointing to the correct place).
Problem is, when I browse to test.xyz.com, it still shows "Apache2 Ubuntu Default Page", not the index.html present in the document root for this sub domain.
What am I missing?
Thanks guys.
Hi,
Have you reviewed the Apache "error_log"?
Best Regards,
Peter Knowles | TPN Solutions
Email: pknowles@tpnsolutions.com | Skype: tpnassist