Name Based Virtual Hosts on Apache – Multiple Websites to Single IP Address

Usually, you have a single IP adress and many websites to hosts. With Apache, you can have many domain names (terokarvinen.com, botbook.com…) on a single IP address (109.74.201.133). Here is a brief list of commands and configuration files for name … Continue reading

Posted in Uncategorized | Tagged , , | Comments Off on Name Based Virtual Hosts on Apache – Multiple Websites to Single IP Address

Apache User Homepages Automatically – Salt Package-File-Service Example

These are example daemon configuration files for salt. Package-file-service is the most common way to configure daemons. If you’re new, start with salt master-slave installation and a commented example of SSH Server install.

Posted in Uncategorized | Tagged , , , , , , , , , , , , , | Comments Off on Apache User Homepages Automatically – Salt Package-File-Service Example

Write Python 3 Web Apps with Apache2 mod_wsgi – Install Ubuntu 16.04 xenial – Every Tiny Part Tested Separately

Python is a popular language for web applications, used by Youtube, DropBox, Facebook, Pintrest, Reddit, Instagram, Spotify, Washington Post and many others. Apache is the most popular web server in the world. Mod_wsgi is the recommended way to use Python … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , | 3 Comments

New Default Website with Apache2 – Show your homepage at top of example.com, no tilde

Install the most popular web server in the world, Apache. Put your homepage on a simple URL, like http://example.com. You don’t need tilde or username (no http://example.com/~tero)

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , , , , , | 4 Comments

Deploy Flask & Python3 on Apache2 & Ubuntu

Deploy Flask, a Python 3 microframework, on Apache web server on Ubuntu. Then you can write your own web pages in Python. Flask is a very simple framework for writing server side applications with Python. This article shows how to … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , | 13 Comments

Hello WSGI – Python mod_wsgi on Ubuntu 12.04 LTS & Apache2

Run Python on your web server. In this article, we start with xUbuntu 12.04 LTS live CD and install the whole stack from scratch. Mod_wsgi is the recommended way to install Django and many other web frameworks.

Posted in Uncategorized | Tagged , , , , , , , | 3 Comments