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?