search

Home  >  Q&A  >  body text

I installed phpstudy on the centos server, and then the domain name was resolved to the address of the server. Why can I open the page directly?

Excuse me, I installed phpstudy on the centos server, and then the domain name was resolved to the address of the server. I did not do any operations on phpstudy, and I did not bind the virtual host. As a result, I can access the root directory of the server directly by accessing the domain name. Open phpmyadmin, how to refuse?

阿杰阿杰2250 days ago1184

reply all(1)I'll reply

  • 胤彬-

    胤彬-2018-10-31 09:20:53

    Delete everything in the default website root directory in phpStudy

    reply
    0
  • 阿杰

    It seems that this is the only way. Previously, if I used phpstudy on win without binding, it would be rejected.

    阿杰 · 2018-10-31 09:38:44
  • Cancelreply