Virtual Host – The Explanation

The term ‘Virtual Host’ refers to setting up more than one Websites (domain names) on a single Web Server such as www.exmple.com and www.demo.com. All of these different Websites will share the same Web Server resources such as memory, processing cycles, storage and etc. But every Website owner will consider to have it’s own separate Web Server. and the user (surfer of your site) will not be aware of it that whether the website or a web page is being served from the same web server or anywhere else!

If you are working on a web project and want to set up a ‘virtual host’ for your site then read my blog on ‘Setting up Apache Virtual Host – Ubuntu 15.04’ and if you want to know why you should use a ‘virtual host’ then keep reading this post.

Continue reading

Setting up Apache Virtual Host – Ubuntu 15.04

This post will teach you how to set up a ‘virtual host’ on Ubuntu 15.04 in the following 7 easy to follow steps. If you are not familiar with the term ‘virtual host’ and want to know about it then read my blog on ‘Virtual Host – The Explanation’.

Step -1: Creating Virtual Host Files

Now as you’ve learned a bit about what Virtual Host is, it’s time to implement it on your localhost. Let’s get started.

Run the following commands:

Continue reading