Windows XP hosts file
-
what you need to do is have a hosts file entry on xp that points to the ip address of your debian box and called something like "debianhost" or whatever .. then set up a virtual host in apache on the debian box that is called "debianhost" then it will work by typing in "debianhost" in the xp browser address bar ;)
"mostly watching the human race is like watching dogs watch tv ... they see the pictures move but the meaning escapes them"
l a u r e n wrote:
what you need to do is have a hosts file entry on xp that points to the ip address of your debian box and called something like "debianhost" or whatever .. then set up a virtual host in apache on the debian box that is called "debianhost"
When I setup my server I was prompted for a host name, which I choose "dev-server" to distinguish from my "dev-desktop" and "home-desktop" and "home-mobile". Ideally I want each computer to be able to access the debian server "dev-server" via 'http://dev-server' All computers, with the exception of 'dev-server' are running XP home or Pro -- but I've never actually bothered to investgiate how to change the mappings to support this, I just jump on the computer and enter 'http://192.168.1.102' So I basically have to update each 'hosts' file on each WIndows PC to point to http://192.168.1.102
I'm finding the only constant in software development is change it self.
-
l a u r e n wrote:
what you need to do is have a hosts file entry on xp that points to the ip address of your debian box and called something like "debianhost" or whatever .. then set up a virtual host in apache on the debian box that is called "debianhost"
When I setup my server I was prompted for a host name, which I choose "dev-server" to distinguish from my "dev-desktop" and "home-desktop" and "home-mobile". Ideally I want each computer to be able to access the debian server "dev-server" via 'http://dev-server' All computers, with the exception of 'dev-server' are running XP home or Pro -- but I've never actually bothered to investgiate how to change the mappings to support this, I just jump on the computer and enter 'http://192.168.1.102' So I basically have to update each 'hosts' file on each WIndows PC to point to http://192.168.1.102
I'm finding the only constant in software development is change it self.
not so no ... the server name isnt necessarily going to work like that ... you have to set up a virtual host on the debian box called "dev-server" instead of "debianhost" as i said before ... make sure the hosts file on xp has that as a name for the ip address of the debian box i use this setup all the time to test things on xp except i develop on linux and use vnc to go to a windows box on the network and from there i can browse back to the dev server ;)
"mostly watching the human race is like watching dogs watch tv ... they see the pictures move but the meaning escapes them"
-
Hockey wrote:
Haha...thats tow of you who noticed my error. Although I said localhost I really just used it as an example -- although I didn't think of the consequences of using localhost
Nice recovery... ;P
Sunrise Wallpaper Project | The StartPage Randomizer | The Windows Cheerleader
try{
Attempt to map each node to localhost
}
catch(Exception){
That's not really what I meant
}Cheers :)
I'm finding the only constant in software development is change it self.
-
Haha...thats tow of you who noticed my error. Although I said localhost I really just used it as an example -- although I didn't think of the consequences of using localhost. :)
I'm finding the only constant in software development is change it self.
And I thought you were trying some bizarre firewall setup...
John
-
not so no ... the server name isnt necessarily going to work like that ... you have to set up a virtual host on the debian box called "dev-server" instead of "debianhost" as i said before ... make sure the hosts file on xp has that as a name for the ip address of the debian box i use this setup all the time to test things on xp except i develop on linux and use vnc to go to a windows box on the network and from there i can browse back to the dev server ;)
"mostly watching the human race is like watching dogs watch tv ... they see the pictures move but the meaning escapes them"
That mad me dizzy! :-D
-
not so no ... the server name isnt necessarily going to work like that ... you have to set up a virtual host on the debian box called "dev-server" instead of "debianhost" as i said before ... make sure the hosts file on xp has that as a name for the ip address of the debian box i use this setup all the time to test things on xp except i develop on linux and use vnc to go to a windows box on the network and from there i can browse back to the dev server ;)
"mostly watching the human race is like watching dogs watch tv ... they see the pictures move but the meaning escapes them"
The server name is separate from the hostname, the latter being configure via Apache or similar, correct? When you say virtual host, you mean a virtual host with Apache? Sorry for the lame question, but I'm trying to figure out how Email and DNS all play togather and it's proving to be quite a discombobulating experience. :P
I'm finding the only constant in software development is change it self.
-
The server name is separate from the hostname, the latter being configure via Apache or similar, correct? When you say virtual host, you mean a virtual host with Apache? Sorry for the lame question, but I'm trying to figure out how Email and DNS all play togather and it's proving to be quite a discombobulating experience. :P
I'm finding the only constant in software development is change it self.
yup yup ... set up an apache virtual host called "dev-server" and set up the hosts entry on xp to point that name at the server ip address ... then you can type in "dev-server" on your xp browser and it will resolve to that ip address and apache will catch it as a virtual host it supports and you will see files ;) there are no lame questions btw ... just lame answers
"mostly watching the human race is like watching dogs watch tv ... they see the pictures move but the meaning escapes them"
-
not so no ... the server name isnt necessarily going to work like that ... you have to set up a virtual host on the debian box called "dev-server" instead of "debianhost" as i said before ... make sure the hosts file on xp has that as a name for the ip address of the debian box i use this setup all the time to test things on xp except i develop on linux and use vnc to go to a windows box on the network and from there i can browse back to the dev server ;)
"mostly watching the human race is like watching dogs watch tv ... they see the pictures move but the meaning escapes them"
You don't have any experience with setting up a postfix server by chance do you? :) Apologies for the strange request on a Windows programming forum yet, but I'm having a helluva time figuring out how to get my particular installation working -- not sure whats going on. :(
I'm finding the only constant in software development is change it self.
-
You don't have any experience with setting up a postfix server by chance do you? :) Apologies for the strange request on a Windows programming forum yet, but I'm having a helluva time figuring out how to get my particular installation working -- not sure whats going on. :(
I'm finding the only constant in software development is change it self.
well what do you want to do with it? maybe we should email directly as this *is* a windows forum and im sure people are going to start getting pissed at us if we carry on linux-ing out here ;)
"mostly watching the human race is like watching dogs watch tv ... they see the pictures move but the meaning escapes them"
-
well what do you want to do with it? maybe we should email directly as this *is* a windows forum and im sure people are going to start getting pissed at us if we carry on linux-ing out here ;)
"mostly watching the human race is like watching dogs watch tv ... they see the pictures move but the meaning escapes them"
If you wouldn't mind email I would much appreciate any assistance. :) nuweb1 (at) shaw (dot) ca
I'm finding the only constant in software development is change it self.