Xampp Multiple Websites

Https xampp multiple ssl Websites in this tutorial i will show to you how to config HTTPS with virtual hosts on XAMPP and httpd-ssl.conf. Before start Plz save all your xampp folder. Lets Start This Xampp Tutorial 2019. How to set up multiple websites, stores, and store views in Magento 2 with What is Magento 2, History of Magento 2, Features of Magento 2, Architecture Magento 2, Advantage of Magento 2, How to Install Magento 2, Disadvantage of Magento 2, Magento 2 Installation, XAMPP Installation etc. Multiple local Joomla websites using XAMPP. Ask Question Asked 5 years, 9 months ago. Active 5 years, 9 months ago. Viewed 1k times 3. I installed XAMPP and Joomla. 2) Change the windows host file. Now in order to be able to call the website in your web browser you need to adjust the host file of your windows install. The file can be located in C: windows system32 drivers etc. Note: if your windows is not installed on the C-drive change the c: into the correct drive letter of your install. XAMPP 1.7.3 is installed in the /xampp folder. It was the first one I installed and I used the default directory, for the other installs, I changed the installation directory. 2) Rename the Start Menu entry after each install. XAMPP 1.7.3 gets a menu entry called XAMPP for Windows, but XAMPP 1.7.4 and 1.7.7 create a Start Menu entry of Apache.

Why switch between PHP versions when you can use multiple PHP version at a same time with a single xampp installation? With a single xampp installation, you have 2 options:

  1. Run an older PHP version for only the directory of your old project: This will serve the purpose most of the time, you may have one or two old projects that you intend to run with older PHP version. Just configure xampp to run older PHP version only for those project directories.
  2. Run an older PHP version on a separate port of xampp: Sometimes you may be upgrading and old project to latest PHP version when you need to run the same project on new and older php version back and forth. Then you can set an older PHP version on a different port (say 8056) so when you go to http://localhost/any_project/ xampp runs php 7 and when you go to http://localhost:8056/any_project/ xampp runs php 5.6.

Lets set it up.

Step 1: Download PHP

So you have php 7 running under xampp, you want to add an older php version to it, say php 5.6. Download the php zip archive from here and extract the files under c:xamppphp56.

Step 2: Configure php.ini

Open c:xamppphp56php.ini file in notepad. If the file does not exist copy php.ini-developmentto php.ini and open it in notepad. Then uncomment the following line:

Step 3: Configure apache

Open xampp control panel, click config button for apache, and click Apache (httpd-xampp.conf). A text file will open up put the following settings at the bottom of the file:

Note:You can add more versions of PHP to your xampp installation following step 1 to 3 if you want.

Step 4 (option 1):[Add Directories to run specific PHP version]

Now you can set directories that will run in php 5.6. Just add the following at the bottom of the config file to set directories.

Step 4 (option 2):[Run older PHP version on a separate port]

Now to to set PHP v5.6 to port 8056 add the following code to the bottom of the config file.

Finish: Save and Restart Apache

Save and close the config file, Restart apache from xampp control panel. If you went for option 2 you can see the additional port(8056) listed in your xampp control panel.


A WordPress multisite can be the answer to managing multiple WordPress websites easily. Once you install WordPress multisite on your server, there’ll be no need to replicate administrative tasks on the backend of a number of individual sites. The sites can all be managed from a single dashboard.

What is WordPress multisite exactly? A multisite is a network of two or more sites that operate off a single WordPress install. All the sites on a multisite setup will use the same WP database, WP directory and WP configuration file. In such a setup, the management of the WordPress install is in the hands of a “Network Administrator”. And the administration of the individual sites on the network is left to the care of the respective Site Admins.

How to Install WordPress Multisite on a Local Server

To begin with, make certain that you have administrator rights to access your computer’s file system. This is because you’ll need privileges to create directories and edit files.

We’ll presume that you’ve installed WordPress on your computer already. But just in case you need help with this, you can always look into our earlier guide.

Note. This is a required step. In order to follow through and install WordPress multisite on your local computer, you first need to have a standard WordPress installation running. Again, please check out our other guide – it’s a step-by-step tutorial, quite easy to follow.

To install WordPress multisite locally and create a network of any number of sites on your own computer, follow these steps:

Before you start:

Choice of URL: Now’s the time to decide whether to install additional sites in a sub-directory or under a sub-domain. It’s important to realize that you cannot change this later.

  • A sub-domain URL for the individual sites will read: site1.YOURSITE.com, site2.YOURSITE.com
  • A sub-directory URL for the individual sites will read: YOURSITE.com/site1, YOURSITE.com/site2

On a live server, you can install both under a sub-domain or a sub-directory. Installing a sub-domain on a local host is a little more technical. It involves configuring the XAMPP application to create a sub-domain and then registering it in the operating system software files. In this post, we’ll deal with only a sub-directory installation on the local server.

Enabling the Multisite Feature

1. Adding the multisite feature:

Firstly, open your wp-config.php file and find the line, ‘/* That’s all, stop editing! Happy blogging. */‘ towards the end. Just above this phrase, add this piece of code:

Then save and close the file.

2. Setting up your network:

Xampp how to use

At this point, you should see a new item in your WordPress dashboard. Specifically, go to Tools > Network Setup. Once there, choose either sub-domains or sub directories.

If you’re going with a sub-domain network on a live server, you’ll need to obtain something called a wild card DNS from your hosting service provider. Since, we’re only doing a sub-directory install on a local server, you do not need any permissions. Fill in the details and then click on install.

A few lines of code will be generated, and you need to add them in your wp-config.php file and in your .htaccess file.

After inserting the code, save the files. With this, WordPress Multisite is now successfully installed.

To access your Network Admin Dashboard, you’ll have to login afresh.

3. Adding sites to your network:

At this point, you can start creating sites and adding them to your network by clicking through My Sites > Network Admin > Sites > Add New:

Fill in the details for the individual sites, such as Address, Title and email. Then Click Add Site.

In the same manner, you can add as many sites as you want. You’ll see all the sites in your Network under All Sites.

4. Add themes and plugins:

With multisite in place, a Network Admin can install themes and plugins on multisite. These themes and plugins can be activated across the entire network, or selectively on a per-site basis.

When To Use / Install WordPress Multisite?

In general, multisite works well for a group of sites that fall into a hierarchical framework. Think government and its various departments, a university and its different schools, any national / world organization and its numerous chapters.

It’s also a good fit for a group of related sites that share common resources. For instance, a network of parallel or allied blogs.

To understand this better, check out Harvard Blogs, a free service for the benefit of the Harvard community. Anyone with an email at harvard.edu can create a blog on this WordPress install. Bloggers can simply concentrate on creating and managing content for their blogs, while enjoying the common resources offered by multisite – themes, widgets, multimedia material, spam protection and more.

In short, WordPress multisite helps you manage all your blogs from a single dashboard. You’ll need to install themes, plugins and updates just once and then activate them as required. Not only that, you’ll also save on time and server space. And, if you’re up to handling the technicalities, you can even monetize the network by offering to host other sites on your network.

When WordPress Multisite is Not The Solution?

Does all this mean that WordPress multisite is the best solution for anyone who runs multiple blogs? Of course not. While multisite offers great convenience, it does have some downside to it as well. Individual sites are restricted in their choice of themes, plugins and hosting service. Moreover, not all plugins are multisite compatible, and this can somewhat limit your choice of plugins.

Localhost xampp

Again, any downtime at the server end will cause the entire network to go down. And, if it happens that any one site on the network experiences a spurt in traffic, it may affect the speed of the other sites in the network.

It’s also important to note that detaching a site from the network or migrating the whole multisite setup sometime in the future may require professional help. And therefore, switching to a multisite arrangement should be done after much careful thought.

Install WordPress multisite: To Conclude

You can use a local multisite as a testing site for any changes to your WordPress install or to test compatibility of any new themes or plugins. You can also work on any project locally, before you push it up to a live server.

However, if it’s only ease of managing multiple WordPress sites that you need, you may also consider managed hosting services. These service providers take over the complete management of WordPress, including services like updating, backup, security and more. One of the better options in this realm is a company called Flywheel. They’re one of the top recommended hosts, and the plans start at $15 / month.

Xampp Multiple Websites List

Thinking to install WordPress multisite but haven’t made up your mind yet? Feel free to share your thoughts in the comments section below.

Xampp Multiple Sites Ubuntu

Free guide

5 Essential Tips to Speed Up
Your WordPress Site

Reduce your loading time by even 50-80%
just by following simple tips.