Language Selection

English French German Italian Portuguese Spanish

How to set up Apache virtual hosting

Filed under

Managing one site on a Web server can be tough enough, and the job is even harder if you have to host multiple client sites on a badly configured setup. If you're running Apache, you can make things easier by setting up virtual hosts, which let you control multiple domains on one IP address, allowing you to specify URLs like instead of, and letting you forgo setting up domain forwarding with a /srv/www/htdocs/hosted/clients_directory/ file.

If Apache is installed correctly, you can set up virtual hosting easily by editing Apache configuration files. The main .conf files in /etc/apache2 include httpd.conf, error.conf, server-tuning.conf, and a bunch more. These files are set for read-only access for normal users; you must gain root access with the sudo or su command to change them.

More Here

More in Tux Machines

Today in Techrights

The BEST Android Phones Of 2015

Android has always been associated with the best known handsets, the best specs and for always being the platform with the most advanced features, whether imaging, processors or display technology. And 2015 was no exception. Apple’s iPhones have always been plenty powerful, but handsets from Samsung, LG and HTC have always strived to take things further, introducing never-before-seen-technology, features and USPs like water-and-dust-proofing, QHD screens and the first implementation of optical stabilised cameras (OIS) on mobile. Read more

KDE Plasma Screen Configuration Is Working On Wayland

Sebastian Kügler's latest KDE Wayland work has led him to discover that KScreen is now working on Wayland. Using KScreen for screen/monitor configuration with KDE Plasma on Wayland-based environments should now "just work" and is a step towards having suitable KDE Wayland multi-screen support. Read more

Turris Omnia Is a Linux-Based Powerful Open Source Router That Updates on the Fly

Turris Omnia is a new open source router that comes with powerful hardware and a Linux distro based on OpenWRT. It’s a smashing hit on Indiegogo, and there is still time to get one. Read more