www.webdeveloper.com
Results 1 to 6 of 6

Thread: Website on home network

Hybrid View

  1. #1
    Join Date
    Mar 2012
    Posts
    10

    Website on home network

    Not sure if this is the right place for this. I'm developing a website for my daughter's business, and testing it on the local host on my Windows XP Pro machine. I'd like to have it accessible for other machines on my home network - what settings do I need to make to achieve this?

    Thanks

    Ed

  2. #2
    Join Date
    Jan 2007
    Location
    Wisconsin
    Posts
    2,120
    What steps have you taken so far? Do you just have a collection of HTML files and site assets sitting on the XP machine's local disk?

  3. #3
    Join Date
    Mar 2012
    Posts
    10
    I have all the necessary files for the website located in the root IIS folder, and accessible to the local browser with the url http://localhost/. I think it's just a case of opening up a port to the other machines on the internal network, but I'm not sure how to do this, and also I'm concerned whether this could make the network vulnerable to outside interference.

    Thanks

    Ed

  4. #4
    Join Date
    Jan 2007
    Location
    Wisconsin
    Posts
    2,120
    Open port 80 on your windows firewall and any other firewall software you have installed. This shouldn't cause any issues. If you have a "standard" home networking setup, you should be able to hit the site from other machines on the network by navigating to the appropriate http://<hostname>/ or http://<ip address>/, wherein <hostname> and <ip address> are the local/intranet addresses for your Windows XP server.

  5. #5
    Join Date
    Mar 2012
    Posts
    10
    Thanks, that worked OK - mostly. Using the IP address it's fine, but with the host name, it actually takes me to a www url - www.<hostname>.com! A bit annoying - any ideas?

    Thanks

    Ed

  6. #6
    Join Date
    Jan 2007
    Location
    Wisconsin
    Posts
    2,120
    If you use the full URL, including the http:// protocol prefix, and are rerouted to a www.<hostname>.com, your WinXP machine's hostname is probably not being recognized by the the other machines on the network. Windows networking can be a bit of a pain - it's pretty flaky. But, if you only have a few machines on the network that need access, and if you're OK setting a static IP on the "server", you can add a host record [edit] to each other machine on the network that needs access [/edit]:

    http://en.wikipedia.org/wiki/Hosts_(file)

    You really shouldn't have to do this, but it may solve the problem.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles