Apache2Triad Help, Support and Development Forum Index Search Profile Log in to check your private messages Log in Register Memberlist Attachments Statistics Crew/Ranks Archive
 Run Multiple web servers on one IP
Google
Post new topic Reply to topic
Author Message
kg6uyz
 
 


Joined: 27 Jul 2005
Posts: 4

PostPosted: Mon Jan 09, 2006 8:01 pm Reply with quoteBack to top

Hi all , i am in need of putting two webservers behind one IP. One server is a Mac os8 or so, and hte other is my apache2triad server. i will be putting my webserver at my friends house, where there is one webserver already. Can anybody tell me how to put two servers behind one IP.
View user's profileSend private message
dawg
support
support


Joined: 11 Apr 2004
Posts: 180

PostPosted: Mon Jan 09, 2006 8:08 pm Reply with quoteBack to top

you will have to use different ports for each server
View user's profileSend private message
LDP
 
 


Joined: 21 Jan 2006
Posts: 3

PostPosted: Sat Jan 21, 2006 4:20 am Reply with quoteBack to top

Check these link :


http://httpd.apache.org/docs/1.3/vhosts/index.html
or
http://httpd.apache.org/docs/2.0/vhosts/
View user's profileSend private messageYahoo Messenger
Joshua Meadows (DemoRic)
support
support


Joined: 29 Dec 2004
Posts: 783
Location: S.E. Kansas

PostPosted: Sat Jan 21, 2006 7:56 pm Reply with quoteBack to top

You could use apache as the front end to the other server by treating it as a virtual host. http://apache2triad.net/forums/viewtopic.php?t=4079

Of course the easiest solution would be just to use A2T and move the content to the A2T pc and then host it as avirtual host
View user's profileSend private messageYahoo MessengerICQ Number
Camac
 
 


Joined: 30 Jan 2006
Posts: 22
Location: Australia

PostPosted: Mon Jan 30, 2006 6:15 am Reply with quoteBack to top

Camac's tutorials - Tutorial 1
BASIC intro to Virtual Hosts
The main thing to know about virtual hosts' is that this does not mean if you have a virtual host to www.name.com this does not mean that www.name.com will direct to your page you must own the www.name.com domain name! and have your DNS servers running (covered later tutorials)

What is a virtual host? well I do not know the definition but basically it is a function in the apache conf file that tells apache when it gets asked for a specific site apache it knows where to send the request.
Virtual hosts start with the following command;
Namevirtualhost *
This basically tells apache to listen for queries from * (anywhere)
The next comand is the tag;
<Virtual host *:80>
This tells apache to listen to * on port 80
Next we place DocumentRoot;
DocumentRoot C:\www\
This tells apache where to send the query (change C:\www to your document root eg. htdocs)
Next we place SeverName;
ServerName www.yourdomain.com
This tells apache the domain name to listen for
Next is DirectoryIndex
DirectoryIndex index.html
This tells apache what page is the index of the directory you are pointing to
The last thing to put in is the closing tag which says that the virtual host entry is over;
</virtualhost>

That is my BASIC intro to Virtual Hosts tutorial so have fun using virtual hosts *cough* Razz Very Happy

Regards
Cameron
www.CamacGames.tk

That should help
View user's profileSend private messageMSN Messenger
flash2k5
 
 


Joined: 09 Nov 2005
Posts: 14

PostPosted: Fri Feb 03, 2006 8:03 pm Reply with quoteBack to top

try round robin configuration if u want to use both servers simultaneously to serve the same matter (ie load balancing)

Many freeDNS providers give the round robin facility
View user's profileSend private message
Turtle
 
 


Joined: 29 Nov 2005
Posts: 8
Location: New Zealand

PostPosted: Wed Feb 15, 2006 6:58 pm Reply with quoteBack to top

AKA

NO-IP * best i recon :p *
View user's profileSend private messageMSN MessengerICQ Number
Display posts from previous:      
Post new topic Reply to topic


 Jump to:   



View next topic
View previous topic
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
You cannot attach files in this forum
You cannot download files in this forum
Powered by phpBB © 2001, 2002 phpBB Group :: FI Theme
All times are GMT