Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

virtual hosting (i think) 1

Status
Not open for further replies.

lordhuh

Programmer
Apr 25, 2000
96
US
hi i am setting a web site to have forms. for querky reasons with uploading cgi's to the server i want to do it to an apache server. is there any way without configureing dns to have say point to somewhere and poin to a different server. im 90% sure my answer is in dns but im hoping there is an answer in apache
Karl Pietri
lordhuh.pota.to
 
mabey this will help clarify it. i have a web site spaned across 2 servers and i want the site to appear (to the user) to be just one site.
Karl Pietri
lordhuh.pota.to

 
oh yeah and i only can adjust one servers settings.
Karl Pietri
lordhuh.pota.to

 
You would only need to change the settings on one server.
Whichever server the DNS is pointing to for mydomain.com, you will setup an alias to redirect a URL to the other server.

So if the DNS is pointing to the server that does not have the cgi bin, the you create an alias to point mydomain.com/cgi-bin/ to 12.34.56.78/cgi-bin where 12.34.56.78 is the IP number of the machine that will hold the cgi-bin

If the DNS is pointing to where the cgi-bin is, then you just create an alias to point mydomain.com to 78.56.34.12 wheere 78.56.34.12 is the IP number of the machine without the cgi-bin.
Im not aware of any other ways to do what you want to do with Apache. If one of the servers is running a different web server then that might be a different story.

Regarads,
Gerald
 
thanks that answers it perfictly. thanks
Karl Pietri
lordhuh.pota.to

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top