How to solve different issues that arise while setting up the XAMPP server as a virtual host? Now you are done and can access: http:\create_website:8088, on your local web server. Here # is just the comment but it helps us where the entries could be found on the web server. Now add this following entry to this file then again modify it to your own needs.ġ27.0.0.1 create_website #Xampp c:\Xampserver\htdocs\create_website-1.2.3 Generally you cannot access the file and you have to modify the attributes to make it editable. Open the file: \system32\drivers\etc\hosts. While working on Windows PC we have to modify the DNS settings in our local host file. “ĭocumentRoot "C:/XampServer/htdocs/create_website-1.2.3"Īfter saving the file, restart the XAMPP server, not MySQL. Let’s assume create_website in the folder \htdocs\create_website-1.2.3.Now add the following section to the end of the file and modify it to your all project needs. Go to the folder: \apache\conf\extra and open file: nf Next is to create the virtual host that tells Apache how to create_website should be interrupted. Now we are going to discuss Virtual Host: don’t use port 80 because it is mostly used by your PC for the internet.Īfter setting the ports, save it and restart Apache in the XAMPP admin console. Now you can change the ports as your own interest.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |