Author |
|
wstefanko
Joined: 10 Sep 2011 Posts: 6 Location: st. louis
|
Posted: Sat 10 Sep '11 15:28 Post subject: View website on local network |
|
|
Hi all, I am new here and just getting into hosting my own web server to learn. My question is what is the best method to administer my web server remotely on the network? I have my web server setup and working on local host with no problems. I assumed I would be able to type in the following to pull it up on another computer onthe network.
http://192.168.100.157/myweb
All I get is a Internet explerer error.
I can see and connect to the computer with file sharing. Port 80 is not blocked no anti virus or firewall on web server (yet). In .conf I am listening to 80. I added my IP to trusted sites in IE just thiking that was blocking it.
Thank you for the help. |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Sun 11 Sep '11 0:20 Post subject: |
|
|
If the web server is running anything from Windows XP SP2 and above, there is a firewall, you will find it in the control panel, add some exceptions. |
|
Back to top |
|
wstefanko
Joined: 10 Sep 2011 Posts: 6 Location: st. louis
|
Posted: Sun 11 Sep '11 3:18 Post subject: |
|
|
I will check on Monday. Do I still have to set and exception even if the Firewall is disabled?
Thanks |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Mon 12 Sep '11 0:35 Post subject: |
|
|
No, you have to enable the firewall and then set the exception/s. Then I think you can disable it again, but it's not advised to do so. |
|
Back to top |
|
wstefanko
Joined: 10 Sep 2011 Posts: 6 Location: st. louis
|
Posted: Mon 12 Sep '11 19:03 Post subject: |
|
|
I enabled the firewall and set my ip address to go through. Still no luck.
I disabled the firewall.
I went into the .conf page and put my server ip address in instead of localhost:80 as the server.
I can ping and view the server computer and access the files but I cannot pull up my page still.
Any thoughts? |
|
Back to top |
|
wstefanko
Joined: 10 Sep 2011 Posts: 6 Location: st. louis
|
Posted: Mon 12 Sep '11 19:59 Post subject: |
|
|
When I use IE i get IE cannot display webpage...
When I use Google Chrome I get webpage is not available and the address changes from http://192.168.100.157/myweb to localhost/myweb.
I guess I am seeing the server but the page still will not come up. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Mon 12 Sep '11 22:48 Post subject: |
|
|
Ho did you configure the Listen in httpd.conf? |
|
Back to top |
|
wstefanko
Joined: 10 Sep 2011 Posts: 6 Location: st. louis
|
Posted: Mon 12 Sep '11 23:15 Post subject: |
|
|
#Listen 192.168.100.151:80
Listen 80
Whenever I remove the # apache will not restart. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Tue 13 Sep '11 10:44 Post subject: |
|
|
Listen 80 means that apache listens on all of your IPs from your PC on port 80. The Listen 192.168.100.151:80 would bind it to one IP adress. That's you can't have both enabled in your config |
|
Back to top |
|
wstefanko
Joined: 10 Sep 2011 Posts: 6 Location: st. louis
|
Posted: Tue 13 Sep '11 12:47 Post subject: |
|
|
When I had it listen to the specific IP address and port and disable port 80 by itself Apache would not restart. Is there something else I have to do when I enable one specific IP and port.
Thanks again. |
|
Back to top |
|