![]() Virtual address means IP-based, you can use different IP or different name for each IP’s. We can setup multiple vhost as per our need so that each local website can be accessible through specific name. Setting up a virtual host allows you to use an alias name for your localhost. Anyone, who is new to the development or heard rarely about XAMPP, can visit and download supported version for your machine. XAMPP is a cross platform open-source web server bundle that consists of Apache, PHP, MySQL, & Perl. You must be aware of XAMPP before this tutorial also. In this tutorial, I am going to share something that everybody would like to read about and i.e. It’s all new world with reinstallation of supported tools, drivers, applications that suit to your machine.Īs a Drupal Developer, I do deal with web servers. You can understand a pain of a Developer when it comes to change your machine from hands-on machine to all new environment machine. Recently, I have moved on from Linux to Windows. I’m sure you won’t be interested in client call and daily stand up call, but this is a part of our work which helps in a successful product delivery as well as client satisfaction. At the bottom of this file insert the below lines of code/directives.As a Developer, I would love to be called a “full-stack” Developer, whose job is not limited only to clean code & bug-free delivery, but also responsible to provide infrastructure, database, back-end code, front-end code and project management ). Navigate to the folder C:/xampp/apache/conf/extra. Create a virtual host under Apache web server Now, we will setup public_html as the root folder for the website of xyz.com so that when you access, the Apache web server will serve page from this public_html folder. Create a folder for xyz.comĬreate a folder C:/xampp/htdocs/xyz.com/public_html. The steps to achieve this are as follows: Step 1. To explain the concept and the method, we will take the example of website xyz.com. To achieve this, you need to setup multiple virtual hosts under XAMPP. With a little extra effort, you can configure your XAMPP in such a way so that you can access xyz.com with URL and abc.com with URL. You would rather prefer to replicate the exact situation as if xyz.com was hosted on an internet server and access it with URL. For example, for a website xyz.com, you may create a folder such as C:/xampp/htdocs/xyz as the root folder for xyz.com and then during development, access it with URL Likewise, for another website abc.com, you will create C:/xampp/htdocs/abc as the root folder and access it with URL This is not a very nice way of working with multiple websites on your XAMPP. In this situation, if you want to develop multiple websites, you will need to create a folder under C:/xampp/htdocs for each website and keep the website files thereunder. How to setup multiple websites in XAMPPīy default XAMPP is setup to run at and serve pages that are kept under C:/xampp/htdocs. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |