Table of Contents
Verified and Tested 02/26/15
Introduction
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.
Server Preparation
To get started, log in to your FreeBSD via SSH or the VNC Console in cloud.atlantic.net. Atlantic.Net Cloud servers are set up as minimal installations 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:
sysrc apache24_enable=yes
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 the following command:
ifconfig
What Next?
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.
Check out our VPS hosting price.