Home  >  Q&A  >  body text

Problems with building multiple websites using PHP toolbox

I used the PHP toolbox to create two domain names according to the tutorial. When I opened them with a browser, they were all in the root directory INDEX. I was always puzzled. By chance, after the computer restarted, I opened the second domain name and pointed to Correct index. But after opening the toolbox, it points to the index of the root directory. What's going on?

phpcn_u29672phpcn_u296722558 days ago1261

reply all(2)I'll reply

  • phpcn_u29672

    phpcn_u296722017-09-23 12:09:47

    The website looked like this before opening the toolbox打开工具箱之前.jpg

    After opening the toolbox, refreshing the website looks like this打开工具箱之后.jpg

    Does anyone know?

    reply
    0
  • Day

    Day2017-09-23 11:33:08

    Please use the correct method to configure the site virtual domain name. In the site domain name management dialog box, add your domain name and port number, then open the host file on the C drive and add the domain name you want to map. If so, how to configure the site domain name under Baidu.

    reply
    0
  • phpcn_u29672

    It should be considered correct configuration. When the computer was first turned on, the pointing was correct. It was not correct after opening the toolbox.

    phpcn_u29672 · 2017-09-23 11:35:06
    phpcn_u29672

    I used the toolbox to set the domain name. When the computer was first turned on, it pointed to the index of the domain name management setting. After opening the toolbox, it pointed to the indexl of the root directory. I don’t understand why the webpage pointed to by the domain name is different before and after opening the toolbox.

    phpcn_u29672 · 2017-09-23 12:04:26
    Day

    The default path is the www directory. You can change the path by configuring the site virtual domain name.

    Day · 2017-09-23 11:36:09
    Day

    You need to configure the site virtual domain name. If you don’t know how to configure it, take a look at the video tutorial in the lower right corner of the environment interface. The default is the www directory. You can open projects with different paths through the site domain name.

    Day · 2017-09-23 13:09:39
  • Cancelreply