Using Vhost, you can load from the root of your document without any movement of your site files. In this case, URL becomes " Due to an invalid path, files become inaccessible and as a result they won’t get loaded in the page. This is the place where we used to place our hosting site in Windows, and always get an issue when they want to fetch any file resides in those directory. There is always an issue when we follow traditional step like creating a folder inside ".\xampp\htdocs\site1". In other words, let’s say your site resides in "localhost/site1" and you want to load all the assets. 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,
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |