logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: View website on local network
Author
wstefanko



Joined: 10 Sep 2011
Posts: 6
Location: st. louis

PostPosted: Sat 10 Sep '11 15:28    Post subject: View website on local network Reply with quote

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

PostPosted: Sun 11 Sep '11 0:20    Post subject: Reply with quote

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

PostPosted: Sun 11 Sep '11 3:18    Post subject: Reply with quote

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

PostPosted: Mon 12 Sep '11 0:35    Post subject: Reply with quote

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

PostPosted: Mon 12 Sep '11 19:03    Post subject: Reply with quote

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

PostPosted: Mon 12 Sep '11 19:59    Post subject: Reply with quote

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

PostPosted: Mon 12 Sep '11 22:48    Post subject: Reply with quote

Ho did you configure the Listen in httpd.conf?
Back to top
wstefanko



Joined: 10 Sep 2011
Posts: 6
Location: st. louis

PostPosted: Mon 12 Sep '11 23:15    Post subject: Reply with quote

#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

PostPosted: Tue 13 Sep '11 10:44    Post subject: Reply with quote

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 Wink
Back to top
wstefanko



Joined: 10 Sep 2011
Posts: 6
Location: st. louis

PostPosted: Tue 13 Sep '11 12:47    Post subject: Reply with quote

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


Reply to topic   Topic: View website on local network View previous topic :: View next topic
Post new topic   Forum Index -> Apache