Multiple domains with a default virtual host not working

January 19, 2014 1.7k views
I followed the following tutorial https://www.digitalocean.com/community/questions/multiple-domains-on-the-same-droplet And for the most part it works, I have a domain I'm playing with at the moment. - 1 that only the subdomain should point to a rails app. (rails.site2.com) - the domain (site2.com) should go to the default virtual host which I set up as a parked domain holder I've linked all virtual configs can you guys please tell me what I'm doing wrong rails.site.com config - http://pastebin.com/pfEV4qvV default config - http://pastebin.com/NBWUzxz5 my httpd.conf - http://pastebin.com/0iDzjZBt my apache2 config - http://pastebin.com/erFAA5y8
1 Answer
And for the most part it works

What part isn't working?
Have another answer? Share your knowledge.