Web Sharing Not Working on External Computers

OK, here's my problem.  I cannot view my websites on external computers (e.g. work computer, neighbor's computer, etc.) that I'm hosting on my Mac Mini.
I'm running a new Mac Mini with OS X Lion, with the latest update.  I have Web Sharing turned on.  I have my firewall on, but the options show that I'm allowing web sharing.
When I visit my site on my local computer, it works fine.  I type my domain name in my browser, and it finds my website.
But when I'm on an external computer anywhere else I get this message:
Safari can’t connect to the server.
Safari can’t open the page “http://192.168.1.100/~vgadisciple/clan_vga/index.html” because Safari can’t connect to the server “192.168.1.100”.
I have tried various browsers.  I have turned off my firewall.  I have cleared the cache in the various browsers.   I have made sure Apache is running via my Terminal.   I have tried everything I can think off.
Why can't I view my website from any other computer besides my local machine?  Please help.  I'm tired of paying $200 a year to a company to host my website when I can do it myself.
Any help resolving this issue will be greatly appreciated.

OK, no one was able to help me.  I realized what I was doing wrong.... and I should have realized it...
192.168.x.xxx IP Addresses are always local IP addresses, and computers on the WAN cannot acccess that via the hypertext transfer protocol.  I should have known this, but Apple's web sharing was pretty clear that my 192.168 IP address would work, and I thought behind the scenes it would work out the details.  But since OS X Lion is more like Windows ME than previous OS X versions, I shouldn't have assumed that.
To make it work, I subsititued my LAN IP address of 192.168.1.100 with the IP address from my ISP.
Then after that I logged into my router and I used port forwarding, named the port HTML and using port 80, via TCP, and forwarded that to my local 192.168.1.100 IP address.  And now it works fine.
So for example, my URL, instead of being http://192.168.1.100/~vgadisciple/clan_vga/index.html, I substituted 192.168.x.xxx with my IP address given to me by my ISP, which is 98.203.xxx.xx.
Works like a charm.

Similar Messages

  • Web sharing not working in 10.5.7?

    Hi,
    I am attempting to use Web sharing to test websites in local, but it doesn't seem to work; whenever I connect to the MacBook using http://localhost, it fails, saying server cannot be found. Same goes when I connect using the iPod Touch, typing the MacBook's IP adress, 192.168.4.119. No result either when using Windows or Ubuntu; server cannot be reached.
    I already tried creating another admin user, to no avail. Also used Disk Utility to repair permissions errors. Also rebooted the router, no effect.
    Using an externally-installed OS 10.5.7 works, though, as well as Distant session, Screen sharing and Fiel sharing.
    Console is full of error messages such as:
    06/06/09 21:59:04 org.apache.httpd[742] (13)Permission denied: make_sock: could not bind to address [::]:80
    06/06/09 21:59:04 org.apache.httpd[742] (13)Permission denied: make_sock: could not bind to address 0.0.0.0:80
    06/06/09 21:59:04 org.apache.httpd[742] no listening sockets available, shutting down
    06/06/09 21:59:04 org.apache.httpd[742] Unable to open logs
    06/06/09 21:59:04 com.apple.launchd[387] (org.apache.httpd[742]) Exited with exit code: 1
    06/06/09 21:59:04 com.apple.launchd[387] (org.apache.httpd) Throttling respawn: Will start in 10 seconds
    06/06/09 21:59:08 com.apple.launchd[1] (org.apache.httpd) Unknown key: SHAuthorizationRight
    06/06/09 21:59:08 org.apache.httpd[746] (2)No such file or directory: httpd: could not open error log file /private/var/log/apache2/error_log.
    06/06/09 21:59:08 org.apache.httpd[746] Unable to open logs
    06/06/09 21:59:08 com.apple.launchd[1] (org.apache.httpd[746]) Exited with exit code: 1
    06/06/09 21:59:08 com.apple.launchd[1] (org.apache.httpd[746]) Exited with exit code: 1
    06/06/09 21:59:08 com.apple.launchd[1] (org.apache.httpd) Throttling respawn: Will start in 10 seconds
    06/06/09 21:59:14 org.apache.httpd[750] (13)Permission denied: make_sock: could not bind to address [::]:80
    06/06/09 21:59:14 org.apache.httpd[750] (13)Permission denied: make_sock: could not bind to address 0.0.0.0:80
    06/06/09 21:59:14 org.apache.httpd[750] no listening sockets available, shutting down
    06/06/09 21:59:14 org.apache.httpd[750] Unable to open logs
    06/06/09 21:59:14 com.apple.launchd[387] (org.apache.httpd[750]) Exited with exit code: 1
    06/06/09 21:59:14 com.apple.launchd[387] (org.apache.httpd) Throttling respawn: Will start in 10 seconds
    06/06/09 21:59:18 org.apache.httpd[751] (2)No such file or directory: httpd: could not open error log file /private/var/log/apache2/error_log.
    This MacBook was formatted yesterday, restored from TM backup, updates were applied, before starting to use it.
    I have a Time Machine dating from before this restore, but only started using Web sharing today.
    What operation should I do to solve this?
    BTW, I verified the config file using this command:
    apachectl configtest
    httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.4.119 for ServerName
    Syntax OK

    Just did it now. Both http://127.0.0.1:631/ and http://localhost:631/ gives out the CUPS server web interface. However, putting either http://127.0.0.1/ or http://localhost/ gives out the same error that server can't be found. Seems linked to Apache only.

  • Web sharing not working (Forbidden error)

    http://localhost/~myusername  doesnt work with web sharing turned on.
    http://192.168.0.102/ (my local IP on the network) also fails to work.
    It won't open locally or from other computers on the network.
    I tried the apple fix here http://support.apple.com/kb/TA25038
    Doesn't help.
    The exact error I get is
    Forbidden
    You don't have permission to access /index.html on this server.
    Apache/2.2.20 (Unix) DAV/2 Server at 192.168.0.102 Port 80

    No one can help?
    I've tried everything I can think of/google.

  • Osx 10.5.7 Web Sharing not working

    Web Sharing wasn't working for me when I turned it on.
    here is the output of apachectl configtest
    $ apachectl configtest
    dyld: Library not loaded: /usr/lib/libaprutil-1.0.dylib
    Referenced from: /usr/sbin/httpd
    Reason: no suitable image found. Did find:
    /usr/lib/libaprutil-1.0.dylib: mach-o, but wrong architecture
    /usr/lib/libaprutil-1.0.dylib: mach-o, but wrong architecture
    /usr/lib/libaprutil-1.0.dylib: mach-o, but wrong architecture
    /usr/sbin/apachectl: line 78: 2455 Trace/BPT trap $HTTPD -t
    is there any way to force a reinstall of the apache web server to fix this problem?
    thanks!

    Nope. That's a new one on me. That's pretty bizarre. I'm struggling to think of any remotely plausible cause.... Is this hard drive bus-powered, by any chance? Is your Airport antenna loose? Are you right at the threshold of being able to get a good signal when the drive isn't connected? Did you take the case off of the drive and stick the bare mechanism right up against the Airport antenna?
    This oddly reminds me of a story a friend of mine told about a mainframe that he was servicing (or maybe it was a friend of his, I forget the details). It kept crashing every night. He'd come out and service it and couldn't find anything wrong. Eventually, he stayed there overnight to see what happened, and saw a member of the cleaning staff plug in a vacuum cleaner (maybe unplugging some other piece of equipment at the same time, I forget), and bam, the machine crashed....
    It's that kind of problem.... That's just really bizarre....

  • Web Sharing not working after installing security update

    I have been using Web Sharing without problems for several months, but now, after installing the latest security update, my browser cannot find my server at macbook.local.
    The console error messages read:
    10/15/08 11:35:17
    AM org.apache.httpd644
    httpd: Syntax error on line 455 of /private/etc/apache2/httpd.conf: Syntax error on line 15 of /private/etc/apache2/extra/httpd-userdir.conf: Syntax error on line 8 of /private/etc/apache2/users/+entropy-php.conf: Cannot load /usr/local/php5/libphp5.so into server: dlopen(/usr/local/php5/libphp5.so, 10): no suitable image found. Did find:\n\t/usr/local/php5/libphp5.so: no matching architecture in universal wrapper
    10/15/08 11:35:17 AM
    com.apple.launchd[1]
    (org.apache.httpd644) Exited with exit code: 1
    I have read a number of other posts (and searched a bit on Google), but nothing I found seems to address this particular console error message.
    What should I do?

    This page fixed the problem. For me this is the part that I had to run:
    Problem 2: Apache is 64 bit, entropy is 32 bit.
    The only solution to this that I've seen is to force Apache to be 32 bit. For intel based machines:
    Code:
    sudo cp /usr/sbin/httpd /usr/sbin/httpd-fat
    sudo lipo /usr/sbin/httpd -thin i386 -output /usr/sbin/httpd
    that will strip everything except the 32 bit intel code from httpd (after making a backup), forcing it to be 32 bit. For PPC, the command will be similar.
    This fix is a bit tacky, but shouldn't cause any problems.
    After running this everything worked as normal. Thanks to everyone that helped.

  • Lion Web Sharing not working

    So, let's say I thought of making my MBP early 2011 running Lion (Not LION SERVER) to be a HTTP host. I'd like to switch Web Sharing on in System Preference but it won't turn on. I pressed on the check box, and after 1 second, it became unchecked again. It showed on the right hand side that it is "starting" but then it changed back to "Off". How strange it is. I've tried for hundreds of times (really!). I don't wanna change~/System/Library/LaunchDaemons/org.apache.httpd.plist cuz it actually caused the problem of MBP not booting up. Any other methods will be fine. Thanks!

    Thanks for your reply, but it doesn't seem to me that it's the file that broke the apache server.
    The fact is: I couldn't turn on Web Sharing, so I changed the mentioned file.  But it doesn't help.  Also my MBP won't boot after this.  And after days of googling on another machine, I fixed the booting problem (I'm now using my MBP!).  But the Web Sharing still refuses to be turned on.  I've checked the file I edited and it is still there edited.  I'm afraid changing it back would cause MBP not booting again!  What should I do now?

  • ITunes Sharing not working on all Computers

    Hi, I'm looking for some help with setting up home sharing between a 21" imac OSX 10.7.4, bought early this year, and a windows vista PC.
    I've scoured the web looking for solutions before finally deciding to search for help here.
    ok, the situation is that at the moment, I have a windows Vista PC which i use as a media centre for all my music, which i intend to share over the network to my imac, but for some reason, vista can see my imac's playlist, but the imac can't see the window's playlist. i'm also running a Buffalo Linkstation Pro Quad with itunes server running, whIch is also only visible on vista.
    I've already set up static IPs for the imac, vista and NAS, but still to no avail. I've opened ports 3689 and 5353, and allowed access through the firewall on both norton 360(vista) and imac's firewall, and disabled windows firewall.
    However, i've tested the home sharing connection on an ipad, and can only receive the imac's playlist, while the vista's playlist can't be detected.
    This is all very puzzling to me, as it doesnt make any sense as to why the playlists aren't turning up, and worst still, there is no set pattern to the issues. Due to this, i cant pinpoint the exact kink in the chain. But to the best of my knowledge, i have done all i can to ensure an open connection between devices.
    Oddly enough, itunes on my imac did manage to detect both the NAS itunes server and the Vista's playlist on one or two occasions, but eventually vanished never to return again. on both occasions, i was doing the exact same things as i did the other times i tried to configure itunes, except those other times failed to detect. I've run out of ideas.
    PLEASE CAN SOMEONE HELP ME. YOUR HELP WILL BE GREATLY APPRECIATED as i use the imac for video editing and need the music libraries to be accesible.
    Thank you!

    Thanks for the reply. I checked and both the service and process are running.
    One of the windows machines was away with my brother at college, and he informs me that iTunes sharing was working fine for him there. I can only assume that the problem is due to something with my router configuration. Any ideas?
    power mac g4 400   Mac OS X (10.4.3)  

  • Personal web sharing not working anymore. localhost

    I've had my personal web sharing working fine for some time now. I've been using it to develop PHP sites and such locally. I recently added a local version of wordpress and just now restarted the server by opening my sys prefs and going into sharing and clicking "web sharing" off and then back on in order to restart it. After doing that I can't access my localhost sites. I get this message "Safari can’t connect to the server." when clicking on either of the two links displayed in web sharing pref.
    Any thoughts on what is going wrong here?

    anyone?

  • Web Sharing not working

    Hi,
    I enable Web Sharing under System Preferences, but when I click the link provided, I get this error: "The connection to the server was reset while the page was loading." What can I do to fix this? I'd greatly appreciate any help (I'm running Lion).

    I am having the same problem.
    Here is the error message in console:
    2/15/08 10:52:43 AM org.apache.httpd[2616] httpd: Syntax error on line 455 of /private/etc/apache2/httpd.conf: Syntax error on line 15 of /private/etc/apache2/extra/httpd-userdir.conf: Syntax error on line 1 of /private/etc/apache2/users/dagny.conf: /private/etc/apache2/users/dagny.conf:1: <Directory> was not closed.
    line 455 contains:
    Include /private/etc/apache2/extra/httpd-userdir.conf
    file /private/etc/apache2/extra/httpd-userdir.conf contains (comments removed):
    UserDir Sites
    Include /private/etc/apache2/users/*.conf
    file /private/etc/apache2/users/dagny.conf: contains:<Directory "/Users/dagny/Sites/">
    
Options Indexes MultiViews
    
AllowOverride None

    Order allow,deny

    Allow from all

    </Directory>
    the Director tag is clearly closed, is it not?

  • Home Sharing not working on both computers

    I want to import music from my laptop (Windows 7) to my main desktop (Windows Vista). My laptop regonizes the library on the desktop through Home Sharing but the desktop does not see the laptop. I have Home Sharing turned on on both PCs using the same iTunes account and I tried turning it on and off on both but it still doesn't work on my desktop. Both have the most recent version of iTunes. What am I doing wrong?

    Interesting as you can see your other library on your desktop this suggests you are using Sharing rather than Home Sharing.
    In Preferences, Sharing I only have the bottom Home Sharing computers and devices update play counts. You do not need the Share my Library on my local network ticked.
    To Create Home Sharing
    Ctrl B  To turn on top menu
    File > Home Sharing > Create Home Share.  Enter your Apple ID and password here and click create home share
    Repeat on the other machine using exactly the same apple ID.
    Then when you access Home Sharing it should look like this. If you need to turn the sidebar on View > Show Sidebar

  • How can I get Web Sharing to work?

    I am having trouble getting web sharing to work - the name for the folder is a NetBIOS name which I can't change - and that is the first part of the problem. Is this a known issue because I have tried it on several computers and it does not work like previous versions.

    Perhaps a little more detail?
    What error message do you see when you try and access your pages?
    You also might need to install a newer version of PHP - one that is compatible with Apache2 (as Leopard uses Apache 2 instead of the Apache 1.3 Tiger used).
    There are also a number of settings that the upgrade process does not migrate over.

  • Can't get Web Sharing to Work

    I can't seem to get Web Sharing to work internally or externally with the AE. ON the G5 with MacOS 10.5.6, I have Web Sharing turned on under Sharing, Security > Firewall allows all incoming, Network configured as DHCP with IP 10.1.4.
    On the AE, under Internet > Internet Connection I have Using DHCP, Connection Sharing = Share a public IP address. Under DHCP I have a DHCP reservation for my G5 10 10.1.4. Under NAT, I have enable default host at 10.1.4. I currently have NAT Port Mapping Protocol on and have Web Sharing configured (though I have tried with it off).
    Under System Preferences > Sharing and Web Sharing selected, when I select my computer's website I get Safari can't connect to server. Same when I try to access a web page hosted here via dyndns.
    So, there must be something I'm doing to cause this but I sure can't figure it out.
    Any ideas?
    Ed

    Solved. Just did created /var/log/apache2 directory and a chmod 755 on the directory.
    Had to keep digging through discussions to find it.

  • File sharing not working 10.6

    file sharing not working on 10.6

    Rather more information is needed!
    With what are (not) sharing?
    Other computers on a network? (if so, are they all Macs or some Windows?)
    Other Users on the same Mac?

  • Audio output will not work on external speakers.  Internal speakers will work.  What do i do to replace audio output slot

    audio output will not work on external speakers.  Internal speakers will work.  What do i do to replace audio output slot

    Right click your volume icon in the notification area and select "volume control options". From there, you should be able to select the external speakers.
    I hope that helps!
    Best of luck,
    Kyle
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------

  • ITunes 10.6.3 home sharing not working properly

    iTunes 10.6.3 home sharing not working properly.  I can access with my three ATV2's watch a movie later that same day it tries to access and ATV2 just keeps trying and never gets through to the library.  If I restart iTunes its fine then later can't access.  I am running iTunes 10.6.3 on a i7 Mac Mini with 10.7.4.  Sole job is to be iTunes server and an occasional HTPC with remote buddy running.  I disabled remote buddy ajax remote feature, and file sharing is on so I can load new tracks form other macs Thats it, a vanilla install with all updates.. No problem prior but not sure if problem free period was with 10.6 earler versions or 10.5 versions.  I update as warnings to do so come up.  The remote app has same problem accessing the Home Share.  I disabled home sharing on my iPhone and set to access the old method with 4 digit code and sees all the time and will play to my express base stations so seems to be home sharing issue because iPhone apps with home sharing on and ATV2s have issue accessing.
    I'm never home but when I am I use this equipment loads and this weekend not reliable at all.  I have firewall disabled, and setup is as before and is working fine.  I am using Mini by ethernet and using AEBS 1st generation gigabit as router only wired to cable modem and whole house ethernet attached, latest version AEBS gigabit as a wireless bridge and 2 prior version 11n expresses and a 11g express, all expresses are set to wireless off and are connected to ethernet and then to a stereo in 3 different rooms.
    I can't be only one.  Considering downgrading to last version of 10.5 but not sure how to do this.
    How many of you are having trouble?
    Any resolutions?
    How to report to Apple?
    How to downgrade safely? Or is it 10.7.4?

    I ran into the specific problem in another thread.  There are more than 100 connections from the apple TV's to iTunes.  You can do a netstat -a (windows or Mac), and verify the problem.  iTunes is smart enough to stop allowing more than 100 connections but stupid to allow the ATV to create so many connections.
    Now for what you really want!  Set all of your ATVs to wifi only.  Even setting the iTunes host to wifi might help also.  I think that wifi is more unreliable, and forces connections to drop, keeping the count under 100. 
    I also turned off ip v6.  That could help you also.  I originally had problems on a Mac mini, and built a windows 7 box to try to fix the problem.  The wifi trick worked on both platforms.  Several of us have bug reports into apple.  I have a wired house also, and am very angry to NEED to use slow wifi to overcome this problem.  The ATV gen 3 has been able to keep up with 1080p over wifi, so it doesn't hurt too much.  What really hurts is spending over 40 hours troubleshooting this bug.

Maybe you are looking for

  • I am unable to install the Creative Cloud application

    Today I have cleaned the PC for absolutely everything Adobe related and finished by running the cleaner tool removing all leftovers exept for the Adobe ID credentials. Then I once more tried to install the cc app - but it stopped the installation wit

  • Hi all..very urgent..error fixing..

    Hi i am running a program in ECC 6.0...its going for short dump..The possibilty of going for short dumb wud be here in the following code..kindly lookinto this in ECC 6.0..full marks wud be given -->  p1        text <--  p2        text FORM BUILD_HEA

  • Youtube video's does not play at facebook startpage

    Hi, I have windows 7 and use Internet explorer 11. When I start to play a youtube video on facebook startpage, It start to play normal. But when I want to change the sound, or scroll in the movie. It stop playing, and it crashes. IE11 doesn't respond

  • How to fix 403 in Mac OS X built-in Apache?

    I'm trying to set a local environment on my new MacBook Air 13": built-in Apache with my own DocumentRoot, PHP, and MySQL. I usually update /etc/hosts just to run my local websites with a pretty permalink: local/example. For references, I usually che

  • What is i.simpli.fi and how do i get rid of it?

    seems to be some adware/malware that captures where I go on the net. it slows down page loading significantly. Every time I click a link or renew a page it shows in the lower left hand corner ("connecting i.simpli.fi"). How can I get rid of it? I am