Re: localhost or actual domain?

From: Date: Wed, 06 Sep 2000 18:27:19 +0000
Subject: Re: localhost or actual domain?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-15575@lists.php.net to get a copy of this message
>(Floyd Baker) wrote: > >>Can someone tell me what happens when installing apache on windows and, >>instead of calling it 'localhost', I use my actual domain name instead? >><snipped> >>Would the local and the isp act as one domain? Or would they conflict? >> Can someone explain what goes on between the local and isp servers in this situation. >I'm confused as to what you're asking, but if it's what I *think* you are >asking, "Don't do that!" I never seem to explain things well... :-) But I think you've figured it out.. I don't have a static IP on the dial up, I do understand the changing IP assignments for each connection and I don't really have any plans to plug any particular ip into any code. But I'd still like to delve a little deeper if I may. >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. 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 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? 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? My real desire is to have localhost databases available to people on the net, via my domain, or otherwise. <snip> > >Hope I'm making sense... >Richard Lynch Yes, to the extent I snipped.. :-) Can you or anyone else add a little more to the above? Thanks a lot. Floyd Baker --

« previous php.general (#15575) next »