How do I approach hosting multiple sites from one server? For instance, if I were to offer to host another website at my server along with mine. How do I handle the domain name if I only have 1 IP and 1 server? I wouldn't want them to use a sub domain, but be able to use their own domain name.
I'm using a linux server, and I have 1 static IP address. I'm not actually doing this, but I'm very curious on how to do it. I hope my question is clear, I'm not entirely sure what to ask yet.
However, for Windows what I have done is host my website on Azure with Umbraco as the CMS. Umbraco allows you to set pages to be served up based on the incoming requested domain. And you can point multiple domains to that single Azure/Umbraco instance. So it's really one website (all running the same DLL's and using the same memory and such), but the returned content is different depending on the URL requested.
Since you are using Linux and assuming want the sites to be somewhat autonomous, then the link above is probably your best bet.