Serving multiple domains on one machine or IP address

2017-09-18 Thread Greg Garrison
Hi, I am interested if I can serve multiple domains from one machine using HTTPD and possibly VMM and RELAYD. I would prefer if there was a solution just with HTTPD is order to KISS. If it is really painful I'll just role more servers. I am running OpenBSD on a VPS. I have 3 to 5 web sites (

Re: Serving multiple domains on one machine or IP address

2017-09-18 Thread Niels Kobschaetzki
> On 19. Sep 2017, at 07:17, Greg Garrison wrote: > > Additionally I notice that the default client HTTP error messages (e.g. 404 > error) that HTTPD generates reveal that the server is running OpenBSD. This > is not a big deal but if the error messages were configurable so that they > cou

Re: Serving multiple domains on one machine or IP address

2017-09-18 Thread Simen Stavdal
Hi Greg, I haven't done this myself, but take a look at the man pages of httpd.conf under the servers sections. You can create multiple a-records pointing to the same ip address, and then pick up the incoming traffic by inspecting the http header in order to find which virtual server to send the t

Re: Serving multiple domains on one machine or IP address

2017-09-19 Thread Nick Holland
On 09/19/17 01:17, Greg Garrison wrote: > Hi, > > I am interested if I can serve multiple domains from one machine using > HTTPD and possibly VMM and RELAYD. I would prefer if there was a > solution just with HTTPD is order to KISS. If it is really painful I'll > just role more servers. > > I