Verified and Tested 02/26/15
This how-to will help you with your install and configuration of Apache on your FreeBSD server.
Apache is a web server that is very popular in Linux systems and over the Internet. It is used by many Web Hosting companies worldwide because of its popularity and efficiency in hosting sites over the World Wide Web.
What Do You Need?
You need a FreeBSD server that is configured with a static IP address. If you do not have a server already, you can visit our Cloud Hosting page and spin up a FreeBSD server in under 30 seconds.
To get started, log in to your FreeBSD via SSH or the VNC Console in cloud.atlantic.net. Atlantic.Net Cloud servers are setup as minimal installations in order to avoid having unnecessary packages from being installed and never used. Because of this, let’s make sure that your server is fully up-to-date.
freebsd-update fetch freebsd-update install
Installing Apache on FreeBSD
Install Apache with the following command:
pkg install apache24
To ensure that Apache will start automatically upon reboot type the following command:
Start Apache with the following command:
service apache24 start
Verify if all is working by typing http://YOUR.IP.ADD.RESS
Your IP could be retrieved from the server with following command:
With that, you now have a server installed and configured with Apache. You may now continue building your website. Thank you for following along and feel free to check back with us for further updates.