The first step is to open Notepad (or any other text editor) in administrator mode, and navigate to C:\Windows\System32\drivers\etc and open hosts file for editing. Setting up the virtual host in XAMPP is really simple: So if your website is wouldn’t it be cool to have your API on subdomain like this:. It is possible for users to publish statuses, follow other users, unfollow other users, edit their information…Īnd after a while, you want to expose API for that website, so that users can make for example an Android app that will consume that API. Imagine that you run Twitter-like site with thousands of users in the database. Why are virtual hosts important in terms of API’s? In this lesson we are going to set up a local virtual host using XAMPP. It is just another name for shared hosting. On the internet virtual host is the provision of Web server hosting so that a company doesn’t have to purchase and maintain its own Web server and connection to Internet. Virtual hostsĪfter XAMMP is downloaded next thing to do would be to set up a virtual host on XAMPP. I am not going into detail about downloading and installing XAMMP since this information are described on XAMPP web page and it is really simple btw.
![xampp mobile access not working xampp mobile access not working](https://img.wonderhowto.com/img/34/06/63590032123416/0/access-xampp-server-remotely.1280x600.jpg)
The first thing to do is to download XAMPP. Let’s start! Setting up the environment for Laravel It will help you in your web development projects and also sharpen your developing skills.
![xampp mobile access not working xampp mobile access not working](https://coolestguidesontheplanet.com/wp-content/uploads/2014/02/xampp-secure-password.jpg)
#Xampp mobile access not working how to
In this tutorial, I will explain how to start writing your own API using Laravel as backend language and XAMPP platform.