Web Sharing (Apache) Q&A?

Howdy.
Im in the process of setting up the apache server in OS X for my webspace. I'd rather host my site for now until I generate enough traffic to warrant me paying someone to host it for me.
With that being said, I have purchased a domain name (from Yahoo business). My question is, what now? I have read the numerous tutorials on setting up the server and where to put my files... but i havent been able to find my missing link. How do i configure the apache web server to utilize my domain name? How do i direct traffic to my domain name which is my computer?
Thanks in advance!

You need to get a "static" IP address from your ISP. They can also provide you with DNS addresses. Then you need to link the DNS addresses to your .com domain name by logging onto the management page of wherever you registered the domain name. There are workarounds but none of this is really as simple as it sounds. Also, by attempting to host your own website, you are opening yourself up to a lot of potential security risks not to mention major administrative hassles. In addition, your site is going to be s....l....o....w because you are not going to have the bandwidth necessary to support this kind if traffic. It would be much better for you to set up your site on a paid hosting service. There are some really good ones that are very inexpensive like SiteGround which will also maintain the mail servers you will need to have your "own" e-mail address ([email protected]). The Apache web server included with OSX is the real thing but it's much more useful for locally testing your web site or for hosting a site on a local network.

Similar Messages

  • Web sharing/Apache not working

    My web sharing doesn't seem to be working.
    When I have it enabled in the Sharing panel of the System Preferences, I try to click on the link
    My Computer's Website
    http://myIPaddress
    I get an error message, in both Safari and Firefox, saying that I cannot make a connection to the server. This is similar to other threads in this section except for the following:
    - I do have a /var/log/apache2 directory
    - I did a chmod 755 on the directory
    - the directory is empty
    - http://localhost does not work
    when I look through a list of my tasks (on the Activity Monitor), I don't see anything related to apache so I'm wondering if my Web Sharing has not initiated the apache server.
    I'm running 10.5.6 on a PowerBook G4.
    Thanks in Advance

    You shouldn't see any apache items in Activity Monitor. I've got web sharing on, and I see a bunch of httpd processes in Activity Monitor. Try repairing permissions on your hard drive. Also, look for some config files located in /etc/apache2/. I see the following files/folders in there on my machine:
    drwxr-xr-x 13 root wheel 442 Nov 24 2007 extra
    -rw-r--r-- 1 root wheel 17684 Jan 27 07:21 httpd.conf
    -rw-r--r-- 1 root wheel 12958 Nov 24 2007 magic
    -rw-r--r-- 1 root wheel 28782 Nov 24 2007 mime.types
    drwxr-xr-x 4 root wheel 136 Aug 13 2008 original
    drwxr-xr-x 4 root wheel 136 Nov 24 2007 other
    drwxr-xr-x 3 root wheel 102 Aug 13 2008 users

  • OT: Web Sharing (Apache) on the Mac

    I am wanting to set my OSX 10.4.8 G4 up with Web Sharing and
    PHP.
    When I open the Preferences, I can see that Personal Web
    Sharing is not
    enabled, so I click on "Start". The button becomes disabled,
    and I see "Web
    Sharing starting up...", and that's all I get. It never
    starts.
    Where would I go to even begin troubleshooting this?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================

    Nope - doesn't work from the Mac UI.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "crash" <[email protected]> wrote in message
    news:[email protected]...
    > Butting in here,and at home, so don't have access to
    other parts of the
    > thread, but ...
    >
    > Can you not search for the http.conf file? within your
    Apache
    > installation?
    >
    > Thanks,
    >
    > Jon
    >
    >
    > "Murray *ACE*" <[email protected]>
    wrote in message
    > news:[email protected]...
    >> OK - I have gotten a reply on the Apple boards -
    >> ----------------
    >> I suspect your Apache is confused at two versions of
    PHP. You may need to
    >> comment out the lines:
    >>
    >> LoadModule php_module
    >> and
    >> AddModule mod_php4.c
    >>
    >> from the file
    >>
    >> /private/etc/httpd/httpd.conf
    >> --------------------
    >>
    >> How do I go about editing these things? I can't find
    them on my system!
    >> Where IS /private/etc?
    >>
    >>
    >> --
    >> Murray --- ICQ 71997575
    >> Adobe Community Expert
    >> (If you *MUST* email me, don't LAUGH when you do
    so!)
    >> ==================
    >>
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >>
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >>
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >>
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    >> ==================
    >>
    >>
    >> "Murray *ACE*"
    <[email protected]> wrote in message
    >> news:[email protected]...
    >> > *And* probably wore a painful thong thingy to
    boot.
    >> >
    >> > --
    >> > Murray --- ICQ 71997575
    >> > Adobe Community Expert
    >> > (If you *MUST* email me, don't LAUGH when you
    do so!)
    >> > ==================
    >> >
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >> >
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >> >
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >> >
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    >> > ==================
    >> >
    >> >
    >> > "Steve" <[email protected]> wrote in message
    >> >
    news:[email protected]...
    >> >> On Thu, 23 Nov 2006 13:34:51 -0500, "Murray
    *ACE*"
    >> >> <[email protected]>
    wrote:
    >> >>
    >> >>>"sudo" indeed....
    >> >>
    >> >> I typed sumo by mistake first time and it
    picked me up and threw me
    >> >> out of the office!
    >> >> --
    >> >> Steve
    >> >> steve at flyingtigerwebdesign dot com
    >> >
    >> >
    >>
    >>
    >
    >

  • Keep Web Sharing from launching at System Startup

    If I run
    $ sudo apachectl start
    and look in Preferences > Sharing
    Web Sharing is checked (and rightly so).
    But, if at this moment I were to restart my Macbook, Web Sharing (Apache) would be started.
    How do I keep Apache from starting at System Startup?
    Ideally, I would like to be able to 'manually' start and stop Apache using apachectl, and I don't want to have to run
    $ sudo apachectl stop
    or uncheck Web Sharing
    before shutting down or restarting the computer.

    If web sharing is on when you restart your Mac, the Mac will restart the service automatically (I'm hard-pressed to think of a reason why one would not want it to work that way, and I suspect the devs had the same problem).  If you don't want that to be the case, there are a couple of options. Easiest, I suspect, would be to create a script (using the apachectl command you already know).  You can set that up with launchd to disable web sharing at login time (for various reasons running scripts at shutdown - though possible - is discouraged; such scripts can accidentally cancel shutdown, and obviously won't be run if there's a crash or power interruption).  You can adjust the permissions so that it can be executed by a normal user while still running as an admin (make sure you disable user write permission to that file, so someone can't hijack it to run other commands as admin), and then the script can be used to manually start/stop web sharing as well. 
    so, the script in /path/to/script.sh (owned by an admin account with 755 privileges)
    #! /bin/bash
    if [ "$1" = "start" ] ; then
         apachectl start
    else
         apachectl stop
    fi
    the launchd script (saved in /library/launchagents as user.apache.stop.plist)
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
      <key>RunAtLoad</key>
      <true/>
      <key>Label</key>
      <string>user.apache.stop</string>
      <key>ProgramArguments</key>
      <array>
      <string>/path/to/script.sh</string>
      <string>stop</string>
      </array>
    </dict>
    </plist>
    an applescript to manually toggle web sharing:
    set response to button returned of (display alert "Enable or disable web sharing?" buttons {"Cancel", "Enable", "Disable"} default button "Cancel" as informational)
    if response is "Cancel" then return
    if response is "Enable" then set todo to "start"
    if response is "Disable" then set todo to "stop"
    do shell script "/path/to/script.sh " & todo

  • Turning on Web Sharing does not work and fails to load apache web server

    Sort of answering my own question here but hope it will be useful to other people and save them some time.
    After receiving my shiny new imac with os x lion pre-installed, I was a little dismayed and confused when I went to System Preferences -> Internet and Wireless -> Sharing and attempted to check the Web Sharing. Every time I clicked this option I was told Web Sharing was starting but would then repeatedly fail and apache failed to start.
    Looking in the Console I find:
    org.apache.httpd: dyld: Library not loaded: /usr/lib/libpq.5.dylib
    org.apache.httpd: Referenced from: /usr/sbin/httpd
    org.apache.httpd: Reason: image not found
    Entering in the console:
    vim /Library/Logs/DiagnosticReports/httpd_2011-08-06-165030_localhost.crash (date and time bit will vary)
    reveals:
    Process:         httpd [2418]
    Path:            /usr/sbin/httpd
    Identifier:      httpd
    Version:         ??? (???)
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [1]
    Date/Time:       2011-08-06 16:50:30.106 +0100
    OS Version:      Mac OS X 10.7 (11A511a)
    Report Version:  9
    Crashed Thread:  0
    Exception Type:  EXC_BREAKPOINT (SIGTRAP)
    Exception Codes: 0x0000000000000002, 0x0000000000000000
    Application Specific Information:
    dyld: launch, loading dependent libraries
    Dyld Error Message:
      Library not loaded: /usr/lib/libpq.5.dylib
      Referenced from: /usr/sbin/httpd
      Reason: image not found
    Binary Images:
           0x1022f6000 -        0x102352fef  httpd (??? - ???) <9D63FBFD-DD87-3DD5-AD1A-D8A79FEC3EE8> /usr/sbin/httpd
    "/Library/Logs/DiagnosticReports/httpd_2011-08-06-165030_localhost.crash" 32L, 1469C
    TO FIX THIS ISSUE:
    It appears /usr/lib/libpq.5.dylib does not exist but /usr/lib/libpq.5.3.dylib does.
    Fix by creating a symbolic link from /usr/lib/libpq.5.3.dylib to /usr/lib/libpq.5.dylib
    =
    sudo ln -s /usr/lib/libpq.5.3.dylib /usr/lib/libpq.5.dylib
    Going back to System Preferences -> Internet and Wireless -> Sharing clicking Web Sharing a couple of times turns Web Sharing on successfully!
    Going to http://localhost/ displays the "It Works!" page.
    HTH people as it took me a while to find the correct solution online from:
    http://www.azattis.com/2011/07/os-x-lion-postgresql-84-install-problem.html

    Hi there,
    You seemed to have had a similar problem to what I now have and so wondered if you might be able to help me :-)
    I have posted this as a new post as well but if anyone has five mins could they take a look - I would be very grateful. Here you go:
    I am new to all this so I have probably made some simple errors and I hope someone can help me. I will retell what I have done as I haven't a clue what part of what I have done has mucked things up.
    I am really stuck. Web sharing will not start on my iMac running Lion OS X. It did work fine and then I wanted to activate PHP so my test website contact form would work (and send the data on the form throught to my email address.
    Before I did anything I turned on websharing and could view my website from another computer using: http://192.168.1.4/~stewartfergusson/
    I think followed the instructions on this link to activate PHP -http://foundationphp.com/tutorials/php_leopard.php
    I then did a few things in terminal and will paste below what I did:
    Last login: Sun Jan  1 09:01:52 on console
    Stewart-Fergussons-iMac:~ stewartfergusson$ cd/private/etc
    -bash: cd/private/etc: No such file or directory
    Stewart-Fergussons-iMac:~ stewartfergusson$ cd
    Stewart-Fergussons-iMac:~ stewartfergusson$ cd prvate
    -bash: cd: prvate: No such file or directory
    Stewart-Fergussons-iMac:~ stewartfergusson$ cd private
    -bash: cd: private: No such file or directory
    Stewart-Fergussons-iMac:~ stewartfergusson$ cd /private/etc
    Stewart-Fergussons-iMac:etc stewartfergusson$ sudo cp php.ini.default php.ini
    WARNING: Improper use of the sudo command could lead to data loss
    or the deletion of important system files. Please double-check your
    typing when using sudo. Type "man sudo" for more information.
    To proceed, enter your password, or type Ctrl-C to abort.
    Password:
    Stewart-Fergussons-iMac:etc stewartfergusson$
    Last login: Wed Jan  4 09:03:03 on console
    Stewart-Fergussons-iMac:etc stewartfergusson$
    Last login: Thu Jan  5 06:19:15 on console
    Stewart-Fergussons-iMac:etc stewartfergusson$ sudo In -s /usr/lib/libpq.5.3.dylib /usr/lib/libpq.5.dylib
    Password:
    sudo: In: command not found
    Stewart-Fergussons-iMac:etc stewartfergusson$ sudo ln -s /usr/lib/libpq.5.3.dylib /usr/lib/libpq.5.dylib
    ln: /usr/lib/libpq.5.dylib: File exists
    Stewart-Fergussons-iMac:etc stewartfergusson$ sudo apachectl -t
    Password:
    Syntax error on line 1 of /private/etc/apache2/httpd.conf:
    Invalid command '1', perhaps misspelled or defined by a module not included in the server configuration
    Stewart-Fergussons-iMac:etc stewartfergusson$ sudo apachectl configtest
    Password:
    Syntax error on line 1 of /private/etc/apache2/httpd.conf:
    Invalid command '1', perhaps misspelled or defined by a module not included in the server configuration
    Stewart-Fergussons-iMac:etc stewartfergusson$
    An important point to note is that I now appear to have more than one http.config file and they are located in the following locations:
    1) Macintosh HD/etc/apache2/httpd.conf.default
    2) Macintosh HD/etc/apache2/httpd.conf.default.default
    3) Macintosh HD/etc/apache2/original/httpd.conf
    I edited this file (which one I have not got a clue) and also the php.ini file within Macintosh HD/etc/ using Terminal - the command I used was sudo cp php.ini.default php.ini
    This php.ini file now exists in two locations now as well:
    1) Macintosh HD/etc/php.ini
    2) Macintosh HD/etc/php.ini.default
    I then edited this file by changing the line of code below from:
    514 error_reporting = E_ALL & ~E_NOTICE (I think it said E_DEPRECATED actually) but I am lifting this from the web page in the link above)
    To:
    514 error_reporting = E_ALL
    I then saved this file.
    I then deactivated web sharing in System Preferences and since then have not been able to restart Web Sharing. I click it and it flashes orange for a second then does not start.
    This was all done to activate PHP on my iMac so I can host my own site which has a PHP contact form page.
    Please help I am so out of my depth I am very worried I may have changed things and I am going to forget what I did.
    If you need to know anything then please ask.
    Thank you so much
    sfergusson1
    'JollyoldEngland'

  • Web Sharing and Apache losing connection?

    ok so i just did a fresh install of 10.4 on my server (PowerMac G4 - 350 Mhz) i have set up my web sharing with a few tweaks like turned mod_ssl and installed MySQL. Other than that it's a pretty basic config.
    My problem is that i when i start or restart apache everything works and stays that way for hours as I am updating and testing. I go home at night and come back in the morning and i can not access any of my sites nor the local ip of the server (192.168.0.100) or 127.0.0.1
    so i restart apache and its back up...
    i do have a static IP so I know its not my IP Changing
    any ideas on keeping apache alive?

    What do the logs have to say about it?
    There's nothing anyone here can tell you about why it's stopping - there are just too many posibilities. The server logs, though, might provide some clues.
    Check specifically /var/log/httpd/error_log and /var/log/system.log

  • Web sharing with Apache: Forbidden

    My Mac OS X 10.8 Mountain Lion Upgrade broke local web sharing of my  ~/Sites/ directories.
    I googled around and followed the advice in http://support.apple.com/kb/TA25038 , which matches my problem closely.  However, that solution does not repair the problem.
    My Sites directory and permissions:
    v21837:~ drf$ ls -la ~/Sites
    total 7160
    drwxr-xr-x   19 drf  staff      646 Aug  7 14:06 .
    drwxr-xr-x+ 197 drf  staff     6698 Aug  6 17:44 ..
    -rw-r--r--@   1 drf  staff    12292 Aug  3 21:26 .DS_Store
    -rw-r--r--    1 drf  staff        0 Feb  2  2008 .localized
    -rw-r--r--    1 drf  staff        3 Aug  7 14:06 00Junk.txt
    Safari on http://localhost/~drf/00Junk.txt:
    Forbidden
    You don't have permission to access /~drf/00Junk.txt on this server.
    Safari on a non-existent file:
    Forbidden
    You don't have permission to access /~drf/Junk.txtq on this server.

    I solved my problem.  I had cut and pasted the information into the /etc/apache2/users/UserName.conf file from a web page and used non-matching up/down quote marks like this:
    <Directory “/Users/username/Sites/”>
    rather than matching ones like:
    <Directory "/Users/username/Sites/">
    Apache seemed to parse it OK with 'apachectl -t', but with the up/down quotation marks, it did not enable my directory, apparently taking the quotes as literal parts of the directory name.

  • Web sharing and apache server down

    Hi all
    Sorry for this noobie question but it's the first time I have this strange behavior
    Today I tried to use my MBP (under Lion 10.7.4) outside of my home in a location where web connection was not permitted.
    I thought I could continue to work on my web project which is at the moment on a localhost server.
    But it was impossible as the web sharing was down and it was impossible to relaunch it through preferences panes.
    did I missed something in my Apache config or somewhere else as I am pretty sure that this behavior should be the correct one it should be possible to have the apache server running even if not connected to the web.?
    Obviously once returned at home and reconnected to the web all going back at normal.
    Thanks in advance for your help
    BR
    BKantique

    Finally I found by myself, apparently I my apache server pointed on the port 80 which once disconnected of the web cause to Apache to be down.
    Changed the port into 8080 and then no issue anymore the Apache server still on once disconnected of the web

  • Personal Web Sharing doesn't want to start. (Apache problem)

    I have accidently deleted apache folders from my iBook. Then I reinstalled the apache, but when I tried to start my Personal Web Sharing, it just won't start. It says "Web Sharing Starting Up", but it stays that way for ages. Any idea? It worked before (I mean before the accident). I dunno if it's got to do with the mySQL coz I reinstalled another version of mySQL.
    iMac   Mac OS X (10.4.4)  

    I am experiencing the same problem: going through the System Preferences (in OSX 10.4.10), to the Sharing pane, then the Services Tab, and clicking Start Personal Web Sharing only gives me "Starting Web Sharing..." and never actually starts it.
    I have tried the following solutions:
    • replaced httpd.conf files using both the httpd.conf.default file from the machine in error as well as from another Mac (adapting the usernames as appropriate)
    • replacing the entire /private/etc/httpd directory with the one from the other Mac, whose Web Server will start up
    • when starting it via Terminal, i get "fopen: no such file or directory" so I created it... no dice.
    Can anybody give me any more suggestions?
    If not, I do have AppleCare on it - think they might help?

  • Personal Web Sharing aka Apache Config

    I have turned on 'Personal Web Sharing' and created a fairly basic test web site in /Users/<user>/Sites that gets picked up readily and quickly by IE on computers on my LAN. However, trying to view the site locally has me confused. When I run Safari or Firefox and manually type in the URL ("http:/IP/~user"), it takes several minutes for each page to load, and Safari doesn't get any of the images that are included. If I select the link in the Sharing panel in System Preferences, the site is accessed almost instantly. The one difference I have noted is that, when typing the URL manually in to the browser, the IP address is changed to the computer name, e.g., "computer.local/~user", whereas when the link in System Preferences is used the URL uses the IP address, e.g., "192.168.0.10/~user". Any thoughts?
    Thanks.

    ShutterMonkey wrote:
    The one difference I have noted is that, when typing the URL manually in to the browser, the IP address is changed to the computer name, e.g., "computer.local/~user", whereas when the link in System Preferences is used the URL uses the IP address, e.g., "192.168.0.10/~user". Any thoughts?
    I bet when you type in the URL, you don't include the trailing slash, just like you've typed it here. If you don't include the trailing slash, your Apache will basically "redirect" back to itself and include the trailing slash. It appears that if you haven't set up a server name in your Apache config file, then it must "redirect" back to the Bonjour name (the ".local" one).
    When you click on the link in the Sys Prefs, they've included the slash, so the "redirect" doesn't happen, hence the IP address stays.
    charlie

  • Personal Web Sharing Hangs on Startup - Apache never installed?

    Hello.
    When clicking start in the Sharing System Pref for Personal Web Sharing nothing happens.
    The checkbox dims and it forever says "Web Sharing starting up..."
    I went to console to look at console.log and saw this each time I attempted to start up Web Sharing:
    httpd: could not open document config file /System/Library/WebObjects/Adaptors/Apache/apache.conf
    /usr/sbin/apachectl start: httpd could not be started
    The interesting thing is, I have no directory /System/Library/WebObjects/
    Is it possible that I never installed apache when I installed Tiger?
    Powerbook G4 (15-inch FW800)   Mac OS X (10.4.6)  

    Hi--
    I haven't changed this file at all. I do use fink and
    have installed many packages. Perhaps it messed
    around with this file (although that seems unlikely)?
    Look in your regular Apache config file. Look for an "Include" line for that file there:
    <pre class="command">grep WebObjects /etc/httpd/httpd.conf</pre>If it's there, just edit that file to add a "#" to the beginning of that line:
    <pre class="command">#Include /System/Library/WebObjects/Adaptors/Apache/apche.conf</pre>My guess is that something installed by Fink added that line: it's not in the default.
    charlie

  • 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 is not starting

    Yesterday i reinstalled the os x bundle cause of isyn was not working properly now isync is working fine but web sharing is not starting. i checked on web sharing from system preferences when i closed the window and comeback again to sharing i see web sharing everytime unchecked i did also locked but still unchecked. if i go to localhost/mysite its say: "Safari can’t open the page “http://localhost/” because it could not connect to the server “localhost”. please tell what i am doing wrong.

    Thanks web sharing is working but if i type http://localhost/gmm/index.html it says"Not Found"
    The requested URL /gmm/index.html was not found on this server.
    but if i type http://localhost/index.html it shows apache page and says "This page is here because the site administrator has changed the configuration of this web server. Please contact the person responsible for maintaining this server with questions. The Apache Software Foundation, which wrote the web server software this site administrator is using, has nothing to do with maintaining this site and cannot help resolve configuration issues." but i can't see this page in the Sites folder. I didn't change any thing, don't know what to do.

  • Help! I need to get web sharing up and running!

    I am working on a web project and just downloaded MAMP only to find that the Apache Server is not running on my laptop running OSX 10.7.5. My understanding is that all I need to do is to turn on Web Sharing but for some reason it refuses to start up... I did some searching around on the web to see what i should do and then Ran Console to see what messages the system was throwing up when I started up web sharing... here is what I got...
    10/8/13 11:53:16.724 AM org.apache.httpd: httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.1.254 for ServerName
    When I open a browser and put in 192.168.1.254, I get the configuration page for the AT&T gateway! why would apache use the ip for the gateway?
    Can anyone look at this and tell me what I need to do to get Apache started? This is for a very important project that I need to start for a client and I did not expect Apache not to work on my machine.. Please note that I am not too familiar with command line interface so if I need to go into terminal it would be helpful to have step by step instructions... Any help would be greatly appreciated, even pointers to references that might help...
    Many thanks!
    David

    Not sure about MAMP but have a look at Setting up a local web server on Lion and Mountain Lion  for how to get apache running.
    regards

  • How to do web sharing windows xp to site on macbook?

    I've created a website with iweb '08 on a macbook, 10.6.8.  I've clicked on "web sharing" in system preferences.  My ipad can access the website on the macbook, but my windows xp desktop can't open it but doesn't say "server not found"  it opens a page about APACHE.  Is the problem on the macbook or on the desktop?  And how can the problem be solved? General Information: (a) All computers are in the same wireless home network.  (b) The pc has never been able to reach shared documents on the macbook, but the macbook can access shared documents on the pc.

    Your post was almost a year ago but whatever.  It sounds to me like your pc is going to the library/webserver/documents folder to pick up your site.  But your site is most likely in your sites folder under your profile.  The addresses are different: 192.168.0.1 or whatever ending digit yours is and 192.168.0.1/~username, respectively.  Yeah, there are two different website folders. You'll see the Apache index.html in the docs folder.  Hey, at least you know "it works!"; now just replace the index doc and put your resources in there and you're hosting (port forward your router and it's on the internet for sure with your external IP as the address, otherwise it's just local).  Also, you must not have file sharing between mac and windows (windows file sharing or smb protocol or something like that) enabled on the macbook; hence, no shared docs folder.

Maybe you are looking for

  • Best way to go about having two people use the same form?

    Hi guys, Relativly new to livecycle and I need some help. I've been asked to make a form that 2 different people will have access too, what I need to do is as followed: Person 1 Only has access to the first 5 pages and is able to fill out the form Pe

  • Sorting Music within a Playlist

    I am having a strange problem crop up that just started happenning recently. I am using the latest version of Apple TV system software along with the latest version of iTunes. When I create a playlist in iTunes I always sort it by track # by clicking

  • How to go abt. installations

    Hi, Will somebody pls help me in installing oracle applications server 10.7 on win NT. I ve installed oracle 7 server already I ve got two CD's with me 1)Oracle7 server patches and Tools Products 2)Oracle Applications server Products. but I don't hav

  • Tabset in page fragment , the url does not changes when we select tabs...

    Hi Thank you for reading my post. i noticed that when we use a tabSet in a page fragment , selecting tabs does not change the current URL , is it a correct manner ? I think when we select a tab and it opens another page the url should change.

  • I had to uninstall V26 and installed V25.1 as the download pannel seems not working

    The files would download but are not seen in the download pannel which remain empty as though nothing has been downloaded.