search

Home  >  Q&A  >  body text

Site domain name management (expedited!!!)

Teacher, my apache port has been changed to 8081. I use localhost:8081 to access it. When I access the virtual site created by the site domain name management and add the port number, the access result is still the same as the access result of localhost:8081. How is this? What's going on?

ᴬ ᴾᵀᴬ ᴾᵀ2474 days ago1084

reply all(2)I'll reply

  • Day

    Day2018-02-22 08:55:29

    Because the virtual domain name site you created needs to be mapped in the host file of the C drive, localhost 127.0.0.1, and the domain name you created is also 127.0.0.1 www.xxxx.com, so the difference is only the access port. , if the accessed ports are the same, then the access paths are the same. The virtual domain names created are different, the ports are the same, but the configured site paths are different, and the web page addresses visited are also different!

    reply
    0
  • PHP中文网

    PHP中文网2018-02-18 14:20:46

    Directory not set

    reply
    0
  • Cancelreply