My Apache cheat sheet

The VirtualHost configuration is located here /etc/apache2/sites-available Defining a VirtualHost <VirtualHost *:80> ServerName DocumentRoot /var/www/html/my-app/ </Virtualhost> I am using Vagrant on Windows, so I have to add this domain to my Windows hosts file: The Apache Service and its commands sudo service apache2 [command] Possible commands: start stop graceful-stop Read more…

Vagrant LAMP Stack setup

I liked WAMP very much, but after discovering Vagrant I never will go back to WAMP.

What is Vagrant used for?

Create and configure lightweight, reproducible, and portable development environments.

In my words: Vagrant is used to simulate a real server environment to interact with.

In this article I want to share my basic setup.