简体   繁体   中英

Creating a virtual host for laravel project

的httpd的虚拟主机

主机

xampp配置**强文本**

I am using localhost:8080 . Does this make any difference while virtual hosting? when I enter lsapp.test in browser, it says page cannot be reached.

Try to change your port to 8080 in httpd-vhosts file

<VirtualHost *:8080>
    ...
    ...
    ...
    # Other directives here
</VirtualHost>

then restart your apache server and access like this lsapp.test:8080 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM