Question
Multiple domains with a default virtual host not working
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
Add a comment
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×