Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
seperate vserver running apache on same port ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
noobstate
n00b
n00b


Joined: 07 Oct 2007
Posts: 61

PostPosted: Thu Nov 22, 2007 6:08 am    Post subject: seperate vserver running apache on same port ? Reply with quote

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
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5947

PostPosted: Thu Nov 22, 2007 7:14 am    Post subject: Reply with quote

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. :wink:
_________________
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
View user's profile Send private message
noobstate
n00b
n00b


Joined: 07 Oct 2007
Posts: 61

PostPosted: Fri Nov 23, 2007 12:10 am    Post subject: Reply with quote

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. :wink:


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
View user's profile Send private message
boerKrelis
Apprentice
Apprentice


Joined: 01 Jul 2003
Posts: 241
Location: The Netherlands

PostPosted: Fri Nov 23, 2007 12:30 am    Post subject: No, you can't. Reply with quote

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
View user's profile Send private message
noobstate
n00b
n00b


Joined: 07 Oct 2007
Posts: 61

PostPosted: Fri Nov 23, 2007 12:39 am    Post subject: Re: No, you can't. Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum