A protip by mvmaasakkers about mac os x and webserver. To start a simple webserver on Mac OS X simply start terminal, go to the directory you want to start the webserver from (which will be the document root) and use the following command. Apache Server Info - Apple includes an install of Apache Web Server on all Mac OS X clients. This link will teach you more about the power that is Apache. DynDNS.com - Helping those with a Dynamic (changing) IP address still be seen from the web, this service will give you a free hostname to use instead of your ip. Do you host and test websites? Do you like doing it? Has the process of hosting and testing websites using a variety of applications become a huge hassle and time sink for you? MacinCloud provides managed and dedicated cloud Mac servers, hosted private cloud solutions and DevOp pipelines. Users can access on-demand Mac servers for app development, Mac tasks, and enterprise builds. All of our plans and solutions are backed by genuine Mac hardware hosted in 7 professional data centers around the globe. Mac Web.com Mac mini cloud servers on-demand. Your Mac in the Cloud. With MacWeb.com, use a Mac from any location and any platform. Your dedicated Mac is always in the cloud. Powered by Mac mini The 2020 configurations will blow your mind with maxi possibilities. We also offer volume options in a rack.
Abyss Web Server
Compact, easy to use and feature-rich
Abyss Web Server is a compact web server available for Windows, macOS, and Linux operating systems.
Despite its small footprint, it supports HTTP/1.1, secure SSL/TLS connections (HTTPS), automated provisioning and renewal of free certificates from Let's Encrypt® (ACME v2), IPv6, on-the-fly HTTP compression, dynamic content generation through CGI/FastCGI scripts, ISAPI extensions, native ASP.NET, HTTP/HTTPS/WebSocket reverse proxying, eXtended Side Includes (XSSI), custom error pages, password protection, IP address control, anti-leeching, bandwidth throttling, and log rotation.
It also features an automatic antihacking system as well as a multilingual remote web management interface that makes its configuration as easy as browsing a web site.
Major features
- Virtual hosting (support for many hosts on a single computer)
- Secure SSL/TLS connections (HTTPS), Dual hosts (HTTP+HTTPS), SNI support (Server Name Indication - allows virtual hosting of several HTTPS sites on a single IP address), and a comprehensible SSL/TLS certificates management interface
- Automated request, installation, and renewal of free certificates from ACME-compliant certification authorities such as Let's Encrypt®.
- Multilingual remote web configuration interface (console)
- Automatic anti-hacking system and an anti-leeching system to control cross-site linking
- Windows System Service, macOS Launch Daemon, and Linux daemon support (Automatic startup when the computer boots up)
Supported operating systems
All editions (64 and 32-bit) of Windows 10, 8.1, 8, 7, Vista, and XP All editions (64 and 32-bit) of Windows Server 2019, 2016, 2012, 2008, Home Server, and 2003 |
macOS 10.15 (Catalina), macOS 10.14 (Mojave), macOS 10.13 (High Sierra), macOS 10.12 (Sierra), Mac OS X 10.11 (El Capitan), 10.10 (Yosemite), and 10.9 (Mavericks) on all 64-bit Intel-based Macintosh computers. |
Linux for Intel x64 (64-bit) and x86 (32-bit) Any Linux distribution released after 2006 - requires GLIBC 2.4 or later and Linux kernel 2.4 or later |
Available in two editions
Depending on your use and your needs, you may choose one of the two available editions (what's the difference?):
- Abyss Web Server X1
- Free personal edition. It isn't a trial version or a demo. It is a fully usable personal web server with no limitations, no nag screens, no spyware, and no advertisements.
- Abyss Web Server X2
- Professional edition priced at US $59.95. It is a professional web server which comes with 1 year of update protection (includes free access to new versions and priority technical support).
Screenshots
Learn more
- Abyss Web Server X1 vs. Abyss Web Server X2
- View the features summary and learn about the differences between the personal and the professional edition.
- Overview of Abyss Web Server capabilities
- Find out about the major features of Abyss Web Server.
- Abyss Web Server users & customers
- Abyss Web Server X1 is used worldwide and X2 customers are from more than 75 countries.
- Abyss Web Server in the media
- Some of the books, reviews, and publications featuring Abyss Web Server.
- Getting Started
- 5 minutes is all you need to read this tutorial and start using Abyss Web Server.
- Press Information
- Official information about the software for journalists and editors.
- Support Abyss Web Server!
- Useful recommendations for Abyss Web Server fans.
Keep in touch with us
Sign up for our low volume newsletter to get product announcements, articles and power tips.
25 20 likes 18,298 views Last modified Oct 9, 2019 6:12 PM
Here is my definitive guide to getting a local web server running on OS X 10.15 “Catalina”. This is meant to be a development platform so that you can build and test your sites locally, then deploy to an internet server. This User Tip only contains instructions for configuring the Apache server, PHP module, and Perl module. I have another User Tip for installing and configuring MySQL and email servers.
Note: This user tip is specific to macOS 10.15 “Catalina”. Pay attention to your OS version. There have been significant changes since earlier versions of macOS.Another note: These instructions apply to the client versions of OS X, not Server. Server does a few specific tricks really well and is a good choice for those. For things like database, web, and mail services, I have found it easier to just setup the client OS version manually.
Requirements:
- Basic understanding of Terminal.app and how to run command-line programs.
- Basic understanding of web servers.
- Basic usage of vi. You can substitute nano if you want.
Optional: Xcode is required for adding PHP modules.
Lines in bold are what you will have to type in. Lines in bold courier should be typed at the Terminal.Replace <your short user name> with your short user name.
Here goes.. Enjoy!
To get started, edit the Apache configuration file as root:
sudo vi /etc/apache2/httpd.conf
Enable PHP by uncommenting line 186, changing:
#LoadModule php7_module libexec/apache2/libphp7.so
to
LoadModule php7_module libexec/apache2/libphp7.so
(If you aren't familiar with vi, go to line 186 by typing '186G' (without the quotes). Then just press 'x' over the '#' character to delete it. Then type ':w!' to save, or just 'ZZ' to save and quit. Don't do that yet though. More changes are still needed.)
If you want to run Perl scripts, you will have to do something similar:
Enable Perl by uncommenting line 187, changing:
#LoadModule perl_module libexec/apache2/mod_perl.so
to
LoadModule perl_module libexec/apache2/mod_perl.so
Enable personal websites by uncommenting the following at line 183:
#LoadModule userdir_module libexec/apache2/mod_userdir.so
to
LoadModule userdir_module libexec/apache2/mod_userdir.so
and do the same at line 520:
#Include /private/etc/apache2/extra/httpd-userdir.conf
to
Include /private/etc/apache2/extra/httpd-userdir.conf
Now save and quit.
Open the file you just enabled above with:
sudo vi /etc/apache2/extra/httpd-userdir.conf
and uncomment the following at line 16:
#Include /private/etc/apache2/users/*.conf
to
Include /private/etc/apache2/users/*.conf
Save and exit.
Lion and later versions no longer create personal web sites by default. If you already had a Sites folder in Snow Leopard, it should still be there. To create one manually, enter the following:
mkdir ~/Sites
echo '<html><body><h1>My site works</h1></body></html>' > ~/Sites/index.html.en
While you are in /etc/apache2, double-check to make sure you have a user config file. It should exist at the path: /etc/apache2/users/<your short user name>.conf.
That file may not exist and if you upgrade from an older version, you may still not have it. It does appear to be created when you create a new user. If that file doesn't exist, you will need to create it with:
sudo vi /etc/apache2/users/<your short user name>.conf
Use the following as the content:
<Directory '/Users/<your short user name>/Sites/'> Driver for hp laserjet 1018 macro.
AddLanguage en .en
AddHandler perl-script .pl
PerlHandler ModPerl::Registry
Options Indexes MultiViews FollowSymLinks ExecCGI
AllowOverride None
Require host localhost
</Directory>
Now you are ready to turn on Apache itself. But first, do a sanity check. Sometimes copying and pasting from an internet forum can insert invisible, invalid characters into config files. Check your configuration by running the following command in the Terminal:
apachectl configtest
If this command returns 'Syntax OK' then you are ready to go. It may also print a warning saying 'httpd: Could not reliably determine the server's fully qualified domain name'. You could fix this by setting the ServerName directive in /etc/apache2/httpd.conf and adding a matching entry into /etc/hosts. But for a development server, you don't need to do anything. You can just ignore that warning. You can safely ignore other warnings too.
Turn on the Apache httpd service by running the following command in the Terminal:
sudo launchctl load -w /System/Library/LaunchDaemons/org.apache.httpd.plist
In Safari, navigate to your web site with the following address:
It should say:
It works!
Now try your user home directory:
http://localhost/~<your short user name>
It should say:
My site works
Now try PHP. Create a PHP info file with:
echo '<?php echo phpinfo(); ?>' > ~/Sites/info.php
And test it by entering the following into Safari's address bar:
http://localhost/~<your short user name>/info.php
You should see your PHP configuration information.
To test Perl, try something similar. Create a Perl test file with:
echo 'print $ENV{MOD_PERL} . qq{n};' > ~/Sites/info.pl
Time logging on mac. And test it by entering the following into Safari's address bar:
http://localhost/~<your short user name>/info.pl
You should see the string 'mod_perl/2.0.9'.
If you want to setup MySQL, see my User Tip on Installing MySQL.
Mac Os Server Setup
If you want to add modules to PHP, I suggest the following site. I can't explain it any better.
Web Server For Mac
If you want to make further changes to your Apache system or user config files, you will need to restart the Apache server with:
sudo apachectl graceful