View previous topic :: View next topic |
Author |
Message |
noobstate n00b
Joined: 07 Oct 2007 Posts: 61
|
Posted: Thu Nov 22, 2007 6:08 am Post subject: seperate vserver running apache on same port ? |
|
|
does anyone know if it is possible ?
last time i checked since the kernel is shared you cannot run both on the same port for example ?
goes same for running them as mail servers and such or did i miss something. |
|
Back to top |
|
|
bunder Bodhisattva
Joined: 10 Apr 2004 Posts: 5947
|
Posted: Thu Nov 22, 2007 7:14 am Post subject: |
|
|
i don't see why not... i serve up .ca and .com from my mail and web server... it's all in how you configure it. _________________
Neddyseagoon wrote: | The problem with leaving is that you can only do it once and it reduces your influence. |
banned from #gentoo since sept 2017 |
|
Back to top |
|
|
noobstate n00b
Joined: 07 Oct 2007 Posts: 61
|
Posted: Fri Nov 23, 2007 12:10 am Post subject: |
|
|
bunder wrote: | i don't see why not... i serve up .ca and .com from my mail and web server... it's all in how you configure it. |
ok so i defiantly missed something here
im going to load up vservers again
i know i followed gentoo documentations for vservers (which included networking) so im assuming there must be a vserver documentation which would allow me to separate each vserver into its respected domain
so i can have each vserver lets say running each own webserver on its own ip without conflict (same for mail etc etc)
the other question i have is instead of wasting space using a entire gentoo install in each vserver is it possible to have them mask ontop of my host gentoo filesystem then each vserver just add on top only new files and system resources i add ? |
|
Back to top |
|
|
boerKrelis Apprentice
Joined: 01 Jul 2003 Posts: 241 Location: The Netherlands
|
Posted: Fri Nov 23, 2007 12:30 am Post subject: No, you can't. |
|
|
You cannot do that. Bunder might be referring to apaches' vhosts and some virtual email domains, which is something quite different from running two separate instances inside vserver-segmented environments on the same port on the same ip . You can indeed, however, assign a second IP to your vserver and run your webserver on port 80 on that IP. |
|
Back to top |
|
|
noobstate n00b
Joined: 07 Oct 2007 Posts: 61
|
Posted: Fri Nov 23, 2007 12:39 am Post subject: Re: No, you can't. |
|
|
boerKrelis wrote: | You cannot do that. Bunder might be referring to apaches' vhosts and some virtual email domains, which is something quite different from running two separate instances inside vserver-segmented environments on the same port on the same ip . You can indeed, however, assign a second IP to your vserver and run your webserver on port 80 on that IP. |
hmm cause i give it a second IP on the same subnet and it would conflict if i tried to make one vserver run a mail server and my host just have simple smtp send to it .... which is pointless if u ask me
would u know if masking over a current filesystem is possible then just adding and upgrading packages ? |
|
Back to top |
|
|
|