Wrox Programmer Forums
|
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 2nd, 2004, 07:53 AM
Authorized User
 
Join Date: Apr 2004
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default URL

Hi there.

Let us say that there is a site with single domain name, but many
IPS. These are hosted on different machines (centres), and the databases used by these centres are not always synchronised.

To acces particular service I must type:
subdomain.domain.com

How can I make sure that my request gets to one particular centre, knowing the IP. It means, I would like to type in like
222.222.222.222 and SOMETHING for the subdomain and get connected to the centre and the service of my choice.

To make it mre complicated, I am not using browser, but php code build around a web service and the address must pe passed in a single instruction.

Thank you.

http://www.scisoft.cz
__________________
webdesign
 
Old April 9th, 2004, 04:55 AM
Authorized User
 
Join Date: Apr 2004
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Nobody knows or too confusing??

http://www.scisoft.cz
 
Old April 9th, 2004, 07:29 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

I don't know if nobody knows, but maybe it's because you posted this in the wrong forum. This doesn't have much to do with HTML. Although it may be hard to find a better forum for this question here at P2P.

Anyway, your question is a bit confusing. Do you have a situation like this:

Suba.Domain.com 123.123.123.1
SubB.Domain.com 123.123.123.2
SubC.Domain.com 123.123.123.3

And now, when you type in 123.123.123.3, you want the site for SubC to show?

If that is the case, and you're using IIS, you can set up Host Headers for this.

Cheers,

Imar



---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: Enter Sandman by Metallica (Track 1 from the album: Metallica)






Similar Threads
Thread Thread Starter Forum Replies Last Post
URL Redirect based on given URL somnath.kartic VS.NET 2002/2003 1 August 2nd, 2012 08:21 AM
URL rewriting with URL forwarding mtabyana BOOK: Professional Search Engine Optimization with PHP: A Dev's Guide to SEO ISBN: 978-0-470-10092-9 0 October 22nd, 2007 08:22 AM
extract URL from Favorites (.URL Files) PhilHawks VB.NET 2002/2003 Basics 2 November 2nd, 2004 04:35 AM
get URL marcrock Javascript How-To 4 February 6th, 2004 11:33 AM
Url Help morpheus Classic ASP Basics 2 January 27th, 2004 12:59 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.