31 Mar 2014 at 12:43 #1 Lisapete Lisapete Permabanned Joined 21 Sep 2013 Posts 1,336 Am getting a static IP Have 1 domain already and want to add a 2nd All to be hosted at home Can I have a 2nd WWW.... Am using Pi's to host as they are cheap and I've a few
Am getting a static IP Have 1 domain already and want to add a 2nd All to be hosted at home Can I have a 2nd WWW.... Am using Pi's to host as they are cheap and I've a few
31 Mar 2014 at 12:48 #2 meandu229 meandu229 Associate Joined 16 Apr 2007 Posts 2,295 You would need something to filter the traffic to the right pi. A router will generally own forward packets based on port so you will need some for of proxy type thing I think. http://superuser.com/questions/596115/multiple-web-servers-behind-a-single-firewall This should help you get started.
You would need something to filter the traffic to the right pi. A router will generally own forward packets based on port so you will need some for of proxy type thing I think. http://superuser.com/questions/596115/multiple-web-servers-behind-a-single-firewall This should help you get started.
31 Mar 2014 at 12:52 #3 Ev0 Ev0 Soldato Joined 18 Oct 2002 Posts 14,226 Lisapete said: 2 Webservers 1 IP Click to expand... Sounds like some filthy techy video to me
31 Mar 2014 at 12:58 #4 Steveocee Steveocee Soldato Joined 5 Nov 2011 Posts 5,743 Location Derbyshire Can't you host both sites off the same pi?
31 Mar 2014 at 13:07 #5 Uhtred Uhtred Soldato Joined 18 Oct 2002 Posts 6,372 Location Bedfordshire pfsense would do this, for example
31 Mar 2014 at 14:39 #6 Lisapete Lisapete Permabanned OP Joined 21 Sep 2013 Posts 1,336 Steveocee said: Can't you host both sites off the same pi? Click to expand... Was just thinking that.... how would I do it? It's just running a basic Apache server on there currently
Steveocee said: Can't you host both sites off the same pi? Click to expand... Was just thinking that.... how would I do it? It's just running a basic Apache server on there currently
31 Mar 2014 at 14:44 #7 philip2009 philip2009 Associate Joined 9 Sep 2008 Posts 1,377 Lisapete said: Was just thinking that.... how would I do it? It's just running a basic Apache server on there currently Click to expand... AFAIK you need to set up a virtual host on Apache for each site.
Lisapete said: Was just thinking that.... how would I do it? It's just running a basic Apache server on there currently Click to expand... AFAIK you need to set up a virtual host on Apache for each site.
31 Mar 2014 at 14:46 #8 Lisapete Lisapete Permabanned OP Joined 21 Sep 2013 Posts 1,336 philip2009 said: AFAIK you need to set up a virtual host on Apache for each site. Click to expand... Sounds complex
philip2009 said: AFAIK you need to set up a virtual host on Apache for each site. Click to expand... Sounds complex
31 Mar 2014 at 14:50 #9 philip2009 philip2009 Associate Joined 9 Sep 2008 Posts 1,377 This may(or may not) help - http://httpd.apache.org/docs/2.2/vhosts/examples.html
31 Mar 2014 at 15:10 #10 inogen inogen Soldato Joined 19 Jul 2009 Posts 7,411 Setting up vhosts is far easier than setting up and maintaining two servers for two sites. Just edit your httpd.config file and restart httpd. Done. Only reason to run two servers is if you needed two environments.
Setting up vhosts is far easier than setting up and maintaining two servers for two sites. Just edit your httpd.config file and restart httpd. Done. Only reason to run two servers is if you needed two environments.
31 Mar 2014 at 15:25 #11 Lisapete Lisapete Permabanned OP Joined 21 Sep 2013 Posts 1,336 inogen said: Setting up vhosts is far easier than setting up and maintaining two servers for two sites. Just edit your httpd.config file and restart httpd. Done. Only reason to run two servers is if you needed two environments. Click to expand... I'm learning it all now so anything is over my head!
inogen said: Setting up vhosts is far easier than setting up and maintaining two servers for two sites. Just edit your httpd.config file and restart httpd. Done. Only reason to run two servers is if you needed two environments. Click to expand... I'm learning it all now so anything is over my head!