search

Home  >  Q&A  >  body text

How to set the virtual machine site domain name in phpstudy?

I tried phpstudy2016 version and phpstudy2018 version, and set them in the site domain name management, but they were not successful. How should I do it?

飞风在路飞风在路2245 days ago1227

reply all(3)I'll reply

  • Don't cry

    Don't cry2018-10-08 16:42:49

    In the c drive of the computer, add it to a hosts file, and then go to your apache or nginx to configure it

    reply
    1
  • 飞风在路

    I added 127.0.0.1 + a new site domain name in hosts, and also added a new website domain name and website directory in site management. However, when I enter the website domain name in the web page, it shows "This web page cannot be displayed."

    飞风在路 · 2018-10-08 22:00:05
  • 藏色散人

    藏色散人2018-10-08 10:15:25

    Use the site manager to create a virtual host-phpStudy quick introduction video tutorialhttp://www.php.cn/code/19717.html

    Do you want to know this tutorial?



    reply
    0
  • Cancelreply