I went ahead and edited the httpd.conf file saved it and restarted the apache. Just wanted to see if the virtual host entry worked.
The good thing is it worked,
https://next.my-guardian-angels.com is serving content from the sub-domain correctly.
But now a different problem came up, if I try
https://my-guardian-angels.com, it serves the content from next.my-guardian-angels.com. I guess it is serving the content from the first virtualhost entry(for port 443)for any https requests to the main domain or other sub domains. I put the virtualhost entry(for port 443) for next.my-guardian-angels.com before the virtualhost entry(for port 443) for my-guardian-angels.com or other sub domains.
I didn't add the
Code:
NameVirtualHost 70.39.144.72:443
entry in httpd.conf as I felt apache was handling hhtps request. Any thoughts on how to solve this is greatly appreciated. Looking forward to some help. Thank you.