Re: localhost or actual domain?

From: Date: Wed, 06 Sep 2000 20:41:10 +0000
Subject: Re: localhost or actual domain?
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-15597@lists.php.net to get a copy of this message
> >But if you try to name your local desktop machine the same name as some > >"real" web-server out there, you are going to confuse the heck out of your > >machine, and might even manage to confuse the rest of the Internet, if you > >work hard enough at it, as to which machine is which. The directions are > >*not* saying to do that. > > The directions do say that if I have a domain name, I can use it in place of > localhost. I do have a domain name. Its accessible on the net and is hosted by > my isp. I realize it would cause *me* confusion, if nothing else, if I were to > call the present 'localhost' by this online domain name. If only in the > sqladmin menu of available domains. The directions mean that "if your localhost has a unique domain name" you may use it instead. > But there is that intermediate dial up IP between my machine and the isp which > separates them otherwise. I simply wondered, since the sqladmin didn't need to > be told to go via dial up to the other database, what might be the case with the SQLadmin knows where the other database is because the other domain name or IP was given to it somehow, somewhere. > domains themselves. In a manner similar, would they not combine resources, or > in other words become one? I don't have any idea that this is possible > although certainly, situations where two or more locations all using the same IP > must have occurred many times over on the net already. Would they have all been > accessed simultaneously or what exactly would happen? It's certainly *possible* for multiple machines to be replicated hosts and distribute resources that way... But you don't really want to do it with your dialup machine as one of the hosts, since (A) your bandwidth is probably not useful for serving web pages, and (B) your machine is probably disconnected too often to be useful, and (C) setting up distributed hardware for this task is not something to tackle lightly. > Further, if I can reach my on-line isp database from localhost, does it follow > that I can also access it from anywhere else on the net? Or, would it just be > from dial ups within the realm of the ISP? That database is almost for sure accessible from anywhere on the planet -- provide the accessor knows the IP or domain name, and a username/password to access it. > My real desire is to have localhost databases available to people on the net, > via my domain, or otherwise. You're best bet is to have a systematic way for your databases to get uploaded and/or synchronized with online copies of your localhost databases.

« previous php.general (#15597) next »