Article

Set Up Your Own Web Server Under MacOS 10.14 Mojave

Topic: General Self HelpPublished March 22, 2023

Legacy signals

Legacy popularity: 434 legacy views

Long time owners of Mac PCs who want to try out unique website hosting solutions may consider this older procedure to convert the personal system into a web server.

Set up your own web server under macOS 10.14 Mojave - this is how it works.

Would you like to develop a web application on your Mac at home? Or maybe it should just be a “theme” for Wordpress, Drupal or another CMS? Then you can either use dozens of cloud offers, work with container solutions and apps, or virtual machines. Or you simply use the on-board resources of macOS. If concerned about additional protection, install the best mac antivirus software you can for added security.

With a little knowledge or courage to use the Terminal app, but also web servers and a text editor, you should be able to follow our guide and start an Apache web server on macOS, so that you can then quickly load HTML pages and View Javascript projects and run PHP scripts yourself (you need Xcode if you want to install additional PHP modules).

Set up a local web server in macOS

The terminal gives you access to text editors like vim or nano. If the operation seems too complicated for you, you can theoretically also use other editors, for example Atom. Type in the terminal:

sudo atom /etc/apache2/httpd.conf

and confirm the entry with Enter. Instead of "atom" you could also write "vi" for vim or "nano" for the nano text editor. You could theoretically use Apple's text edit as well.

According to Lifehacker, “OS X: You need only one tiny command to start a web server from any directory through OS X's terminal. If you've got a web site lying around and need to test it out, this is possibly the fastest way to make that happen (Just navigate to the directory you want to use and enter the following command:

python –m SimpleHTTPServer 8000).

You may want to change the port if you already have something running on 8000, but other than that the command doesn't require much alteration. It's a great little snippet to keep in mind (or in your TextExpander shortcuts) for the next time you need a quick little web server.”

Guest User

Then setup a profile for a guest user "Guest.conf". If this is the case for you, create a profile that matches your username (which you use to log in to macOS) and which is also displayed in the terminal prompt.

Further reading

Further Reading

4 total

Article

Keeping properties and schools clean is very important in Port Melbourne. Clean spaces help people feel safe, healthy, and comfortable. Whether it is a home for sale, a rental property, or a busy school full of students, the right cleaning care makes a big difference. This is why many people choose professional real estate cleaning Port Melbourne services and trusted School Cleaning Port Melbourne teams to make sure every area looks fresh and welcoming. When a property is bei

January 25, 2026

Article

Construction sites are high-risk environments. Open flames, electrical work, welding, flammable materials, and temporary power setups all increase the likelihood of fire-related incidents. Even a small oversight can lead to major losses, including injuries, property damage, legal penalties, and project delays. This is why having a structured fire prevention plan is no longer optional for construction projects of any size. One of the most effective ways to reduce fire risk on

January 23, 2026

Article

Introduction In a world where inequality, poverty, and social challenges continue to affect millions, organizations driven by compassion and community service play a crucial role in uplifting vulnerable populations. One such organization making a significant impact in Indonesia is Yayasan Sosial Harapan Indonesia — a social foundation dedicated to spreading hope, providing support, and empowering communities in need. With a clear mission to foster sustainable change and pro

December 19, 2025

Article

As Singapore prepares to welcome another exciting year, fashion-forward individuals and groups are turning to custom t shirt printing Singapore services to create memorable celebration attire. This year's trending prints combine festive spirit with contemporary style, making t shirt customization the perfect way to ring in the new year with flair. Metallic and Glitter Accents Take Center Stage Shimmering metallic prints dominate this year's New Year fashion scene. Gold, silve

December 16, 2025