Home  >  Q&A  >  body text

Why do I change it to my own project directory, write my own PHP test file, enter my own domain name, but still access index.php under WWW instead of index.php in my directory?

空 白空 白2522 days ago880

reply all(2)I'll reply

  • 路过

    路过2017-10-25 16:17:22

    Steps to configure a virtual machine

    Configure the virtual machine, configure the hosts file, restart apache, and then you can have fun

    Are you missing a few steps?

    reply
    0
  • Day

    Day2017-10-25 15:20:30

    The domain name needs to have a port number. The default port 80 is the default WWW directory. If you need to change it, you can set it in the port general settings.

    reply
    0
  • Cancelreply