Sub-domains and Virtualhosts
I just started using linode three days ago, I have moved my domain to my linode box. I installed Apache and configured it as it is using the Guides. My domain
I created a sub-domain:
test.skadooshlabs.com
and i wanted to map it to test website i have hosted virtually on my apache server. I have followed the instructions, I added a A/AAAA record for this sub-domain, then I configured this virtual host with this config:
ServerName test.skadooshlabs.com
ServerAlias
DocumentRoot /srv/www/test.skadooshlabs.com/public_html/
ErrorLog /srv/www/test.skadooshlabs.com/logs/error.log
CustomLog /srv/www/test.skadooshlabs.com/logs/access.log combined
It has been three days and I still get a Timeout in the browser. Can you please tell me what I am doing wrong?
Many Thanks
3 Replies
ServerAlias http://www.test.skadooshlabs.com
http:// shouldn't be there
Also test.skadooshlabs.com has no dns records in linode's name servers. Check that you added one.
@obs:
ServerAlias http://www.test.skadooshlabs.com
http:// shouldn't be there
Also test.skadooshlabs.com has no dns records in linode's name servers. Check that you added one.
Thanks, I have removed the http:// from the config. But i did add a A/AAAA record for test.skadooshlabs.com as told in the guide, Isnt that how we add sub-domains in linode's dns manager?
@aliirz:
Thanks, I have removed the http:// from the config. But i did add a A/AAAA record for test.skadooshlabs.com as told in the guide, Isnt that how we add sub-domains in linode's dns manager?
Are you using linodes DNS manager to host your DNS? Or is it still on your registrars hosted DNS..
test.skadooshlabs.com still doesn't resolve at all, so DNS isn't setup properly.