Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Windows XP hosts file

Windows XP hosts file

Scheduled Pinned Locked Moved The Lounge
sysadminlinuxphpapachevisual-studio
24 Posts 11 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A alex barylski

    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.

    M Offline
    M Offline
    Miszou
    wrote on last edited by
    #14

    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

    A 1 Reply Last reply
    0
    • L l a u r e n

      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"

      A Offline
      A Offline
      alex barylski
      wrote on last edited by
      #15

      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 1 Reply Last reply
      0
      • A alex barylski

        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 Offline
        L Offline
        l a u r e n
        wrote on last edited by
        #16

        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"

        H A 3 Replies Last reply
        0
        • M Miszou

          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

          A Offline
          A Offline
          alex barylski
          wrote on last edited by
          #17

          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.

          1 Reply Last reply
          0
          • A alex barylski

            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.

            J Offline
            J Offline
            John M Drescher
            wrote on last edited by
            #18

            And I thought you were trying some bizarre firewall setup...

            John

            1 Reply Last reply
            0
            • L l a u r e n

              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"

              H Offline
              H Offline
              hlmechanic
              wrote on last edited by
              #19

              That mad me dizzy! :-D

              1 Reply Last reply
              0
              • L l a u r e n

                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"

                A Offline
                A Offline
                alex barylski
                wrote on last edited by
                #20

                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.

                L 1 Reply Last reply
                0
                • A alex barylski

                  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.

                  L Offline
                  L Offline
                  l a u r e n
                  wrote on last edited by
                  #21

                  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"

                  1 Reply Last reply
                  0
                  • L l a u r e n

                    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"

                    A Offline
                    A Offline
                    alex barylski
                    wrote on last edited by
                    #22

                    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.

                    L 1 Reply Last reply
                    0
                    • A alex barylski

                      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.

                      L Offline
                      L Offline
                      l a u r e n
                      wrote on last edited by
                      #23

                      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"

                      A 1 Reply Last reply
                      0
                      • L l a u r e n

                        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"

                        A Offline
                        A Offline
                        alex barylski
                        wrote on last edited by
                        #24

                        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.

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups