You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Setting up a local web server on macOS 14.5 “Sonoma”

I followed the guidance here, kindly provided by @etresoft, to set up a local webserver on a brand new Mac Studio. etresoft's advice was extremely helpful and the process ran smoothly until starting the server.


sudo launchctl load -w /System/Library/LaunchDaemons/org.apache.httpd.plist


produced the error


Load failed: 5: Input/output error


A frustrating hour of Googling told me only that load was a legacy subcommand and a few hints that start might be a suitable alternative. Indeed, that turned out to be the case:


sudo launchctl start -w /System/Library/LaunchDaemons/org.apache.httpd.plist


succeeded and I was able to view the stubs at both


http://localhost


and


http://localhost/~<short user name>


I'm posting this as a very small update to etresoft's extremely helpful original post. Much kudos to them for their advice.

Mac Studio (2022)

Posted on Jun 26, 2024 10:25 AM

Reply
1 reply

Setting up a local web server on macOS 14.5 “Sonoma”

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.