Routing different domains on a VPS
Posted
by
Hans Wassink
on Server Fault
See other posts from Server Fault
or by Hans Wassink
Published on 2012-09-25T08:33:36Z
Indexed on
2012/09/25
9:39 UTC
Read the original article
Hit count: 324
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
© Server Fault or respective owner