Routing different domains on a VPS
- by Hans Wassink
We just went from shared hosting to a VPS server. We have several domain names that we have pointing to our dns, but they all point to the root of the server. What I would like now is a setup where every domain name gets its own map so we can run different sites on the VPS server.
Like:
www.example.com points to: /var/www/example.com
www.imapwnu.com points to: /var/www/imapwnu.com
First of all, is this possible? Second, I have root SSH access and Webmin, on a LAMP server running on Ubuntu. Webmin doesnt have Bind9 (I dont know if I need that, some forums pointed me towards something called bind).
Thanks in advance